/in/foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:13: error: 'time' was not declared in this scope
srand(time(0));
^
/in/foo.cc:13:14: error: 'srand' was not declared in this scope
srand(time(0));
^
/in/foo.cc:15:10: error: 'EOF' was not declared in this scope
while(q!=EOF)scanf("%c",&q);
^~~
/in/foo.cc:15:27: error: 'scanf' was not declared in this scope
while(q!=EOF)scanf("%c",&q);
^
/in/foo.cc:17:8: error: 'rand' was not declared in this scope
s=rand()%26+64;
^
/in/foo.cc:19:17: error: 'printf' was not declared in this scope
printf("A%c\n",s);
^
/in/foo.cc:21:15: error: 'system' was not declared in this scope
system("pause");
^