c++ tag

886 questions


1 answers
22 views
0
Why is it that the consonant vowels of the entered values are printed separately?

I'm studying object arrangement. I don't know why the consonants and vowels of the entered values are separated and printed. Like this.Name: ㅣㅁㄱAge: 2Class number: 0Name: ㅣㅁㄱAge: 3Class number: 1Name:...

c++
2 years ago

1 answers
137 views
0
c++ Class Problem Questions

The problem embodies the functions, constructors, and destructors of ClassInfo In the main() function, enter (B511001, Kim Cheol-soo, 23), (B611002, Kim Young-hee, 26), and (B411003, Youngsoo Kim, 24)...

2 years ago

1 answers
125 views
0
C++ Memory Release Debug Assertion

#include <iostream>#include <fstream>//http://is03.tistory.com/3 HOW to use eofusing namespace std;#define FILENAME data.txtifstream fin;class Matrix {private: int size; int numOfNonZero; ...

2 years ago

1 answers
24 views
0
About the constructor of the c++

Hello. Thank you for your hard work.While looking at the explicit keyword I'm asking you a question while I was testing it alone.Code is class MyClass{public:MyClass(){}MyClass(int num) : imember2(num...

c++
2 years ago

1 answers
92 views
0
c++ circular queue

#include <iostream> #include <assert.h>using namespace std;class CircularQueue {private: int *mData; int mFront, mRear, mMaxSize;public: CircularQueue(); CircularQueue(int _data); ~Circula...

2 years ago

1 answers
113 views
0
c++ Memory Location and Operation of Class Member Functions

Where and how is the C++ member function located?First of all, my personal guess is thatEven if you create multiple class objects, the class's member variables are likely to set multiple areas and hav...


1 answers
27 views
0
I'd like to ask you a question about c++ completely beginner switch.

I'm trying to use a switch statement, but when I compile op, y, it says it's an uninitialized variable, so what's the problem?

2 years ago

2 answers
26 views
0
Questions related to deep copy of the C++ constructor.

I have a question because I don't understand the code of the second generator of public in the code below.The role of the code is http://blog.According to data from eairship.kr/168..After memory space...

c++
2 years ago

1 answers
23 views
0
What is the meaning of 'class & address operator' in the factor?

The code below is a code that performs a substitution calculation with deep radiation.If you look at the annotated line, it says Student&operator= (Student&ref Can you make a constructor like ...

c++
2 years ago

2 answers
22 views
0
Class Variable Dynamic Assignment in C++

Like Python's class variable, C++ uses class variable, and I want to use it as a dynamic allocation.#include <iostream>class Some{ private: static Some* _A; public: void __setSome(int n){ thi...

c++
2 years ago
« - 42 - »

© 2024 OneMinuteCode. All rights reserved.