Skip to content
Sign upLog in

Delay for c++

Profile icon
Baconman321

Does anyone know a repl.it compatible delay function for c++? I would like to use it to make the computer slow down, and make it easier for calculations. Thanks!

You are viewing a single comment. View All
Profile icon
Baconman321

@mwilki7
Thank you so much, however, I also want a program that will be able to print 1 letter after another. Like some type of computer in a sci-fi movie. Such as being able to print h-e-l-l-o. I tried your tactic and instead of printing h, and waiting 1 second, then goes to e and so on, it waited 5 seconds (1 for each of the letters), and printed hello as a whole word, not printing h, and going to e. Can you help me do this. The only solution I find is to print H, then do \n. I want to be able to print hello on a single line. I would gladly appreciate your help, and if this is not possible, please help me improvise.