prog.cpp: In function 'void upgrade(int&)':
prog.cpp:8:10: error: 'cout' was not declared in this scope
{ acr=9; cout<<"\n\n>Successfully updated the file."; getch(); }
^
prog.cpp:8:10: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp:8:61: error: 'getch' was not declared in this scope
{ acr=9; cout<<"\n\n>Successfully updated the file."; getch(); }
^
prog.cpp: In function 'void search(char*, char (*)[36], int)':
prog.cpp:18:28: error: 'j' was not declared in this scope
{ for(int l=0,count=0;l<j;l++)
^
prog.cpp:20:15: error: 'j' was not declared in this scope
if(count==j) {cout<<'\n'<<acronym[i]; break;}
^
prog.cpp:20:19: error: 'cout' was not declared in this scope
if(count==j) {cout<<'\n'<<acronym[i]; break;}
^
prog.cpp:20:19: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp: In function 'void display(char*, char (*)[36], int)':
prog.cpp:34:63: error: 'cout' was not declared in this scope
if(count==l) {i+=l-1; for(l+=1;acronym[j][l]!='\0';l++) cout<<acronym[j][l]; p=1; break;}
^
prog.cpp:34:63: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp:37:5: error: 'cout' was not declared in this scope
cout<<ch[i];
^
prog.cpp:37:5: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp: At global scope:
prog.cpp:44:11: error: '::main' must return 'int'
void main()
^
prog.cpp: In function 'int main()':
prog.cpp:46:8: error: 'clrscr' was not declared in this scope
clrscr();
^
prog.cpp:57:1: error: 'cout' was not declared in this scope
cout<<">Press \"u\" if you want to upgrade the program's acromyms' list. ";
^
prog.cpp:57:1: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
prog.cpp:58:9: error: 'getch' was not declared in this scope
c=getch();
^
prog.cpp:61:51: error: 'cin' was not declared in this scope
cout<<">Enter your tweet(max. 160 characters): "; cin.getline(ch,160);
^
prog.cpp:61:51: note: suggested alternative:
In file included from prog.cpp:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^