886 questions
Instead of using a thread library like C,Looking for C++ style (object-oriented) thread objects.Please teach me the easiest way to thread in C++!Is there anyone who can post an example of a program wh...
How much const should I write?Should I use all the variables that don't change?Even on a single line of code?void printValue(const bool b) { cout << b << endl; }Does writing like this real...
When there is a variable of string typeHow do I find out if there is a specific string in it?, for example,Hello, It's me, for the me true, ., the ???? The false, such as .I'd like you to find the ind...
How are virtual functions different from pure virtual functions?Please tell me what it means to use the two
I'm going to make a C/C++ code that supports multiple platformsYou want to determine which platform the preprocessor is using.Where can I find relevant information?
I saw in the book that TRUE/FALSE was defined like this, but I don't know the reason. #define TRUE '/'/'/' #define FALSE '-'-'-'What does this mean?Why can you write that one-zero?
From the source code below,Is there a way to get out of the overlapped repeat door at once using break?int main(){ for(int i=0; i<A; i++){ //... for (int j=0 ; j<B; j++) { //... for (int k=0...
std::vector<int> numbers = { 1, 2, 3, 4, 5, 6, 7 };for ( auto xyz : numbers ){ std::cout << xyz << std::endl;}In C++0x, vector for for if you turn the xyz door like this, int type w...
« | - 37 - | » |
© 2024 OneMinuteCode. All rights reserved.