c++ tag

886 questions


1 answers
59 views
0
Error Initializing Objects in C++

The following code will cause an error.US>Error Contentsmain.cpp:5:44:error:use of deleted function 'SerialPrint::SerialPrint()' SerialPrint_serialPrint=SerialPrint(); main.cpp #include main.h// Seri...

1 years ago

2 answers
39 views
0
Intel C++ Compiler Default Declares Operator to Error Compiling

If operator = is declared as default as shown below, the intel c++ compiler will give you an error message when compiling, but since it can be compiled without any problems with gcc or clang, is there...

c++
1 years ago

2 answers
43 views
0
About C++ builder project file configuration

Currently, I would like to build a project file created in Borland C++ Builder 6 about 15 years ago by transferring the source code to the recent Embarcadero C++ Builder 10.3 Community.However, I stil...

c++
1 years ago

2 answers
37 views
0
Understanding Grammar Like u=vector(3) in C++

C++ vector<int>u;u=vector<int>(3);What kind of grammatical structure is it to substitute vector<int>(3) for u?I understand that (3) after vector<int> represents the number of e...

c++
1 years ago

2 answers
43 views
0
How to Change the Value Defined in Define by Condition

The header file defines #define SET_VALUE%.3f and Assume that the source code contains several actions: str.Format(SET_VALUE,dValue);.I'd like to perform a branching process that converts to 3 and 5 d...

c++
1 years ago

2 answers
73 views
0
C++ does not load well when console input large values

Thank you for your help.1 AA BB 1010^18, 1 CC, D 1010^9I tried to enter a number from the console when It doesn't seem to fit into each variable well.Small values are acceptable, but If you grow up, y...

1 years ago

2 answers
51 views
0
Do you have an IDE or editor suitable for editing C++ on Linux?

I recently started C++. Do you have a free IDE (editor) for Linux environments?I prefer an IDE (editor) that specializes in auto-complementation.I don't think I use cmake very often.US>Linux environme...

1 years ago

1 answers
41 views
0
Reshape cannot be used when handling tensors in Eigen

Error when using the tensor calculation part of unsupported in C++'s linear algebra library Eigen.https://qiita.com/suzuryo3893/items/1a79b4e9410f1803b4fa#geometrica... as in// Increased tensor rank w...

c++
1 years ago

1 answers
93 views
0
Depth priority search questions (game programming practice)

I'm solving the past questions of competition programming, but I don't get the output I expected from the test case.Why?This problem seems to be a problem for all exploration, so I try to solve it usi...

1 years ago

1 answers
66 views
0
file loading and displaying in list control

Read and reflect the data files you want to place in the list control from the menu bar.I am currently able to install a menu bar in the mainframe and read the file from the open menu, but I do not kn...

1 years ago
« - 10 - »

© 2024 OneMinuteCode. All rights reserved.