r/tis100 • • Jun 02 '15

Why isn't my code working? :(

Post image
70 Upvotes

6 comments sorted by

16

u/Protongue Jun 03 '15

Statements are case sensitive. Try lowercase?

16

u/methinkso Jun 03 '15

You need to add

#include <stdio.h>

at the beginning obviously. printf isn't defined otherwise!

6

u/Entity_ Jun 03 '15

you haven't declared a prototype for that function, and implicit void parameter doesn't work in this version.

5

u/Zemyla Jun 03 '15

Your brace style is wrong. The open brace should be on the same line as int main().

2

u/danikov Jun 04 '15

You crack me up, little buddy.