c++ tag

886 questions


1 answers
136 views
0
MFC(C++) CPU, memory check question.

Leave program number 1 (ex: Test program) running (just for CPU state, memory state change) Run program number 2 (ex: check program) Select the program you want to monitor as program number 1 and The ...

2 years ago

1 answers
31 views
0
How can I call a function every certain time?

I'd like to know how to call a function after a certain period of time or delay the execution of the function, as the title suggests

c++
2 years ago

1 answers
24 views
0
Are references also allocated to memory space?

It is often described as a new name given to reference targets when describing references to C++I'm a little confused because there's a saying on the Internet that anonymous variables are assigned.Is ...

c++
2 years ago

1 answers
77 views
0
Please tell me the principle

It's a code that changes decimal to binary, so please tell me how it changes in detail

2 years ago

1 answers
150 views
0
Can't the constructor be called when creating a temporary object with a return value?

#include <iostream>class Point{ int x, y;public: Point (int a = 0, int b = 0): x(a), y(b) {std::cout << execute creator<< std::endl;} friend Point operator+(const Point& p1, cons...


1 answers
144 views
0
Question related to deleting vector object.

vector<list<CObj*>> m_vecObj;for (UINT i = 0; i < iSize; ++i){ list<CObj*>::iterator iter = m_vecObj[i].begin(); for (; iter != m_vecObj[i].end(); ++iter) { if (i == MISSILE) { ...

2 years ago

1 answers
36 views
0
Hello, I'm asking you a question because I was blocked during the C++ question T_T

We're in the third week of c++, and now that we're getting used to class, inline functions and arrays are bothering usㅜㅜI have to submit it to Damju right away, so I posted it in a hurry. I'm sorry!C+...

c++
2 years ago

1 answers
93 views
0
Fundamentals of the Picture Control Drag Method on the C++ MFC

Picture control After receiving the m_pic in CRect form, click the mouse in the coordinates, update the coordinates of the m_pic during Mouse Move, and draw it again using RedrawWindow(); but it doesn...

2 years ago

1 answers
26 views
0
Moving characters

I want to make a map and move characters in it and make enemies.What should I do?(I'd appreciate it if you could give me the code!))

c++
2 years ago

1 answers
103 views
0
I have a question about the timing of the C++ temporary object, generator, and extinction.

class Stock{private: string company; long shares; double share_val; double total_val; void set_tot() { total_val = shares * share_val; }public: //Two constructors Stock(); // Default constructor Stoc...

2 years ago
« - 45 - »

© 2024 OneMinuteCode. All rights reserved.