I start a little 3D software.
I use my keyboard to change the shape to display (ex : press ‘1’ to display the A shape, press ‘2’ to display the B shape, …)
To be sure I use in the function printf to display the pressed key.
So when I press a key, the key is not printed in the standard output and the shape is not changed.
But when I close the program, the outputs are printed at once.
I don’t understand what to do to correct the problem…
Thank you for your help.