Quote:
Iostream.h Is used for Input/output else cin/cout are not recognized
void main() <- even If I change that to int main still gives an error
conio.h <- clearscreen = clrscr(); wont work without it neither will getch(); but instead of getch(); we can use cin.get(); however we cant use clrscr
You are probably using some ancient compiler, writing non- and prestandard code. Unfortunately yes, there is no standard way to clear the screen (but what's the big deal - if the program is run by double-clicking on the exe/from the IDE, the screen will be empty anyhow?).