c++ tag

886 questions


2 answers
24 views
0
Use of C++ References

Question 1)Why is the return type of a function used as a reference type? I can't really relate to it.Does it work well with more than just a reference to name a variable? I can't relate to all the ex...

c++
2 years ago

1 answers
34 views
0
When developing Android, can I develop it with C or C++?

I'm going to develop an Android game, but I want to develop it with C instead of Java I think we can develop it with C, but I'm asking if there are any good tutorials or materials for that.

2 years ago

1 answers
141 views
0
How do I view dynamic assigned arrays in Visual Studio debugging mode?

The visual studio debugger shows the static arrangement well,Do I have to press + to show the dynamic array or double pointer?Also, sometimes I have to press + every time, so it's annoying.


1 answers
45 views
0
In the output part, the pointer loses its place

struct custom{ custom* pLink; custom* pToFl; string name;};typedef struct portNode{ int numberOfCus = 0; string flightName; custom headerNode; portNode* pLink;}flight;struct airport{ int numberOfPort ...

2 years ago

1 answers
25 views
0
Can I partially erase the C++ console screen?

Is there a way to partially designate Rect and erase it, other than erasing it with cls?

c++
2 years ago

1 answers
76 views
0
Can c++ internal (inner) classes be defined outside of external classes?

Implementing list and vector I don't want to define itterator, which is an internal class of two classes, so I define it separately. I'd like to refer to it, is there a way?

2 years ago

3 answers
26 views
0
How do I prevent the C++ try-catch exception processing from shutting down the program after catch? (I'm a beginner.)

Outputs a statement that an exception occurred in cout << B.top() << endl; in the code below.After that, the line cout << B.size() << endl; is not executed.If you change the or...

c++
2 years ago

2 answers
24 views
0
Structure in c++

in the c++ structureIs it more common to use typeef?Or don't you use it well?

c++
2 years ago

2 answers
31 views
0
Using an Array in a Switch Case Statement

char sel1[10];int teamsel;cin >> sel1;switch (*sel1) { case kt : teamsel = 1; case Fin : teamsel = 2;}I want to use it like this.How shall I do it?

2 years ago

1 answers
112 views
0
Why do only similar numbers appear in rand()?

I don't know if seed is weird or if I pull land() I keep getting similar numbers.In my program, I'm going to write a log, so there needs to be a big differenceAlmost all of them are from 225 to 230253...

2 years ago
« - 52 - »

© 2024 OneMinuteCode. All rights reserved.