1

After successfully executing the 'hello.c' program, I'm unable to execute 'mario.c' because terminal says 'stio.h' file not found (which IMO doesn't make any sense since 'hello.c' runs perfectly). Any ideas?

jharvard@appliance (~/Dropbox/pset1): make hello clang -ggdb3 -O0 -std=c99 -Wall -Werror hello.c -lcs50 -lm -o hello jharvard@appliance (~/Dropbox/pset1): ./hello hello, world jharvard@appliance (~/Dropbox/pset1): make mario clang -ggdb3 -O0 -std=c99 -Wall -Werror mario.c -lcs50 -lm -o mario **mario.c:1:10: fatal error: 'stio.h' file not found #include <stio.h> ^ 1 error generated. 
2
  • 4
    This question appears to be off-topic because it concerns a simple typographical error and is unlikely to be helpful for future users. Commented Sep 11, 2014 at 23:45
  • as beginner CS students (CS50s constituency), typos are very much on topic (imo). this thread did indeed help me, quite quickly. is "off-topic" deemed by stackexchange folks, or CS50 moderators? seems harsh. Commented Dec 24, 2014 at 7:17

1 Answer 1

3

Change it to

 #include <stdio.h> 

You've got a typo.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.