uthcode / learntosolveit

The C Programming Language Companion
http://www.learntosolveit.com
Other
198 stars 1.37k forks source link

Update Ex_5.1_getint.c #146

Open Oroweln opened 2 years ago

Oroweln commented 2 years ago
  1. Removed the "debugging purposes" part on line 64 due to having no purpose excepting making program not run, cause "res" is not defined in any shape or form.
  2. Removed "getint(int *) from line 62, due to it already being a function, this resulted in host of problems when trying to initialize it inside main. As a result of these changes, the program is functional