declaration tag

4 questions


1 answers
114 views
0
Why do you use the const at the end of the method definition?

Why are you using this?I'm confused class Myclass{public: void print() const {}};

1 years ago

1 answers
67 views
0
What is the difference between constint*, constint*, and int const*?

const int*const int * constint const * What's the difference between these three?


1 answers
123 views
0
I want to know how to declare a pointer

Can anyone explain how the following three methods of declaring a pointer are different?


1 answers
121 views
0
Structure variable forward declaration, prototype declaration error

I wanted to use a queue with a Problem structure variable as a type, so I declared a variable, but there was an error, so I'm uploading a question.For example, if you have a structureProblem{};I want ...


© 2024 OneMinuteCode. All rights reserved.