0

How to stop text and continue it with "Enter"

Hi, I try to figure out how to give out text but not instant more like if you press Enter it goes on. "This is a cool text. If you want to read it press Enter" - User is pressing enter "Here you got the text" Would be nice if you could help me.

10th Jul 2019, 7:08 PM
Godmorgon
Godmorgon - avatar
2 Respuestas
+ 1
cin.get() might work just fine in most cases, It doesn't work in sololearn console. getchar() should also work
10th Jul 2019, 8:07 PM
alvaro.pkg.tar.zst
alvaro.pkg.tar.zst - avatar
0
Something like typeWriter or, the th text appeara when you click on the button? which one r u talking about?
10th Jul 2019, 9:29 PM
Ginfio
Ginfio - avatar