1304 questions
Looking at other answers, I saw a lot of things like standard or standardWhere can I see standard documents?I wish I could see it on the internet!I searched Cstandard on Google, and only the community...
In C++, there are many ways to dynamically allocate, right?Then when should I use malloc and when should I use new?malloc If you finished freeIf new is done, deleteI know I shouldn't mix the two.
We're going to approach the arrangement from the back to the frontI'd like to know a better way than the source code I madefor (int i = myArray.Length - 1; i >= 0; i--){ //take care of sth myArray[...
If you compile the code below into the gcc -Wall /-Waddress option,warning: the address of ‘i’ will always evaluate as ‘true’ [-Waddress]It appears.I don't know why it's coming up. I don't know what i...
The factor will enter float and Is there a standard library function that does this?
Why can't I override the static method in Java?If possible, show me an example of how to do it.
In C, static was specified in the function like the code belowHow do I declare static in a function with Python?void foo(){ static int counter = 0; counter++; printf(counter is %d\n, counter);}
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?
I know that using references makes it easier to read and write code,What exactly is the difference between the two?
« | - 58 - | » |
© 2024 OneMinuteCode. All rights reserved.