Lesson 44: ctime library (1). Beginning Programming with Visual Studio C++ 2010

preview_player
Показать описание

Sorry for the long video but the clock function from the ctime library will be introduced in this video

You can ask me questions that i was not clear on and i will answer ASAP. Please provide complements and likes if the vid was good OR constructive criticism if they could be better or just flat out suck. I WILL edit or remake videos if they are horrible in certain areas or if they just flat-out suck and will take your feedback into consideration.
Рекомендации по теме
Комментарии
Автор

It's 2022, and this is extremely helpful. Thank you!

yousefwasfi
Автор

11:07 that's how Sleep(); was made?

KennethDiazperlloni
Автор

if(clock()>(time+1000))
{
//time=clock(); //1050
cout<<i<<endl;

}
i--;
why I put the i-- outside of the if brace, the console don't even print one number?

kesongxie
Автор

hello 4eversmart...i need some help because i want to go to a programing contest..but i work in c++ only for 3 month, and every single thing that i know, i learned from u...can u give me some help, because i love this thing but nobody can learn me

vioniribu
Автор

thank you for sharing this tutorial it helped me a lot. However, when i followed your code for the loop timer there was no change in the delay of out put. Over and over, I followed the code but no results. then i changed the timer addition from milliseconds( 1 second = 1000milli seconds) to Microseconds (1 second = milliseconds) and i finally got second delay from the loop. why is that.

MrBebop
Автор

horrible. How about forms? Time to string?

edwardhahn
Автор

Great video. When I run cout << clock () I only get 0 instead of milliseconds. Is this because I have a different compiler?

tomheppy
Автор

Oh please, say everything 22 times to make it 'clear'

edwardhahn
join shbcf.ru