c++ tag

886 questions


1 answers
25 views
0
Why does cin not run normally on c++?

cin을 사용하여 입력할 이름의 개수와 이름을 입력하고이를 출력하는 간단한 코드 입니다.But if you add the cin >> n part in the third line of main,Contrary to my intentions, the next for statement has a single sin It's not accepted.W...

2 years ago

1 answers
22 views
0
In a program that runs n times by taking the number n, how do I end the current run and move on to the next run?

If there is a code that repeats the code 10 times the same, the current stage is the 5th, but if I receive an incorrect input during execution, I would like to print out Wrong input and move on to the...

c++
2 years ago

2 answers
105 views
0
How do I program the GUI in C++?

Recently, I learned C++, and I realized that I had to do GUI programming to make something that actually looked like a program.I looked into the data, and there were a lot of themI'm learning somethin...

2 years ago

1 answers
104 views
0
C++ Header File Questions!

Player.h#ifndef_PLAYER_H_#define _PLAYER_H_class Player {private: char * id; char * job; int level; int hp;public: void setId(char * id); void setJob(char * job); void setLevel(int level); void setHp(...

2 years ago

1 answers
25 views
0
C++ official website

Is there no official website for C++ language like Python?I'm trying to refer to the standard library, but I can only see the sites that are run by individuals.

c++
2 years ago

1 answers
29 views
0
I have a question for you, c++.

Hello. I've been studying, and I've found something I don't know; I'm asking you again.(If you have any additional questions when you ask, is it right to update the previous article? Or can I write a ...

c++
2 years ago

1 answers
30 views
0
Using Precompiled Headers

I am a beginner developer who has been studying C++ language for almost a year.If there are more source files during development, the compilation time will eventually increase, and to solve this probl...

c++ c
2 years ago

1 answers
23 views
0
[C++/Repactoring] How can I use of stream as a class member?

The code below is a code that works, but it's too legible.It seems that the file stream part is divided and it is also due to overlapping parts.My idea is to use the part of the file stream as a class...

c++
2 years ago

2 answers
23 views
0
Why do I need to install the c++ redistribution package?

Why do you have to install that separately from the user's point of view when you sometimes ask for a runtime package when you run a program developed with c++? Isn't it not a native language if the d...

c++
2 years ago

1 answers
88 views
0
This is a question about the principle of temporary copying of the member variable in C++ Default Copy Generator

class baseDMA{private: char* label; int rating;public: baseDMA(const char* l=NULL, int r =0); baseDMA(const baseDMA& rs); virtual ~baseDMA(); baseDMA& operator=(const baseDMA& rs); friend ...

« - 43 - »

© 2024 OneMinuteCode. All rights reserved.