C++ equivalent of setInterval | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

C++ equivalent of setInterval

Hello, I am looking for a c++ equivalent of the following js function: setInterval(function(){ //blablabla },1000/someFPSvalue);

29th Jul 2017, 8:50 AM
Dapper Mink
Dapper Mink - avatar
8 Answers
+ 9
Thanks a ton for your replies guys!! They had been really helpful <3
29th Jul 2017, 2:17 PM
Dapper Mink
Dapper Mink - avatar
+ 8
Thank you, I will look at it as soon as possible. A more specific answer from anyone else would be highly appreciated still! :')
29th Jul 2017, 9:39 AM
Dapper Mink
Dapper Mink - avatar
+ 8
omfg that's amazing thank you <3
14th Sep 2017, 12:17 PM
Dapper Mink
Dapper Mink - avatar
+ 6
pretty sure you will have to write this yourself. something like this should help get u started https://code.sololearn.com/c2FByP9IIsbx/?ref=app
29th Jul 2017, 9:22 AM
jay
jay - avatar
+ 6
https://stackoverflow.com/questions/33234403/using-setinterval-in-c
29th Jul 2017, 9:55 AM
jay
jay - avatar
+ 3
I made this https://code.sololearn.com/cpSsIuelvd82/?ref=app I made an array of pointers to functions that will switch the functions which will not be repeated A for loop with Another delay for loop A call to a function of the array A call to function that will be repeated always
29th Jul 2017, 1:01 PM
Andrés04_ve
Andrés04_ve - avatar
14th Sep 2017, 12:07 PM
Hello world
0
https://stackoverflow.com/questions/33234403/using-setinterval-in-c
8th Aug 2018, 10:54 AM
Hachem Mt
Hachem Mt - avatar