+ 1

Input/output

Besides basic methods for input and output in c++ Are there any other methods for input and output?

24th Mar 2020, 11:52 PM
Severus
Severus - avatar
2 odpowiedzi
+ 1
I'm pretty sure you can use scanf and printf functions for input and output.
25th Mar 2020, 1:08 AM
CeePlusPlus
CeePlusPlus - avatar
0
Yeah there are a ton of other methods. For example in a headerfile called <Windows.h> or <windows.h> (if you are on windows), there is a function called beep(f,t) where f is the frequency and t is the time in milliseconds. Also in sololearn instead of cin/cout you are also going to learn about files, which are really helpfull in my opinion. Also you can install libraries like SDL or SFML which will give you the ability to have a complete way to receive input from mouse/keyboard/joystick and aditionally a better way to output data like images, sound, text etc
25th Mar 2020, 12:13 AM
xaralampis_
xaralampis_ - avatar