Hot answers tagged

2 votes
Accepted

Difference between scanf and get_int

As you will discover later on during the course, get_int() is part of the cs50 library "cs50.h" which is not used in the real world, except in the course. To ease the apprenticeship, David ...
user avatar
  • 63
1 vote
Accepted

Type int in scanf

When in doubt or you are sure you have done something correct but still receive errors, you should always check the the CS50 Man Pages to see what it says. In this case, it says that scanf needs a ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible