declaration tag

4 questions


1 answers
131 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 {}};

2 years ago

1 answers
78 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
138 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
136 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.