Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
prob w/the C prog. lang. book(ANSI C)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Martin Ambuhl, post: 1706714"] The problem is your typing. [...] main returns an int. You should say so (and must for C99): int main(void) ^^^^^^^^^^^^^^^^^ Your typing error The program is a bit worse than that, since even after you correct your typing error, a computed value of, say, 211.99999 will be stored in celsius as 211. main returns an int, and you should say so (although C99 added that without the return, a program will now act as though the line below were there): return 0; [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
prob w/the C prog. lang. book(ANSI C)
Top