momodeMacBook-Air:~ momo$ ls
Applications Downloads Pictures
BombSquadX.app Library Public
Desktop Movies eclipse
Documents Music 百度云同步盘
momodeMacBook-Air:~ momo$ cd Documents
momodeMacBook-Air:Documents momo$ ls
JOB ebook
Microsoft 用户数据 kongfz
R learn win to go
TTKN win安装包
Thumbs.db workspace
Virtual Machines.localized 杂
Youku 研究生课程
c
momodeMacBook-Air:Documents momo$ cd c
momodeMacBook-Air:c momo$ ls
hello text.c
momodeMacBook-Air:c momo$ gcc text.c
text.c:1:10: fatal error: 'stidio.h' file not found
#include <stidio.h>
^
1 error generated.
momodeMacBook-Air:c momo$ gcc text.c
text.c:1:10: fatal error: 'studio.h' file not found
#include <studio.h>
^
1 error generated.
momodeMacBook-Air:c momo$ gcc text.c
text.c:3:5: error: cannot combine with previous 'int' declaration specifier
int int main()
^
1 error generated.
momodeMacBook-Air:c momo$ gcc text.c
momodeMacBook-Air:c momo$ ls
a.out hello text.c
momodeMacBook-Air:c momo$ ./a.out
Hello world!
momodeMacBook-Air:c momo$