1
#include <stadio.h>
int main(void) {
    printf("hello, world");
}

when i type make hello

clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow    hello.c  -lcrypt -lcs50 -lm -o hello
hello.c:1:10: fatal error: 'stadio.h' file not found
#include <stadio.h>
         ^~~~~~~~~~
1 error generated.
make: *** [<builtin>: hello] Error 1
2
1

Try this:

#include <stdio.h>

"stdio" is short for standard input/output. ;-)

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .