The best replacement for scanf is cin. |
Speaking about scanf, one probably shouldn't forget about multiple inputs.
Other search terms related to scanf and their ratings are: |
|||||
|
|||||
You have in mind a companion for scanf and it is not yet here? Propose! |
scanf |
|
cin |
|
fgets |
|