Wait for a certain amout of time.
| Program Programmer (39) |
|
|
Hello, What do I use to make a code to wait a certain amount of time untill exucuting the next line?
|
|
|
| bandicoot360 (31) |
|
|
If you are using MSVC, include Windows.h and call Sleep(1000) to wait for 1000ms. But I would use libraries for more portable code.
|
|
Last edited on
|
| Yhivu (8) |
|
|
Shouldn't it then be MSVSC, since its MicroSoft Visual Studio C++?
|
|
|
| PatricBernard (14) |
|
|
Well if you're getting That crazy, then it would be MSVSCPP :)
|
|
|
| cire (2347) |
|
| Shouldn't it then be MSVSC, since its MicroSoft Visual Studio C++? |
No. Microsoft Visual Studio and Microsoft Visual C++ are different products.
|
|
|