Hot answers tagged

1

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 and his team created simplified function to let students understand more rapidly the dev logic. You have all the details of this library here : https://cs50....


1

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 format string and zero or more arguments that tell it where to store input (read pointers). So, scanf can do nothing with the numbers variable that you have ...


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