Saturday, January 29, 2011

Getting error in turbo c compiler ???

Following are some of the errors

1) unable to locate iostream header file
Solution:
You should set the lib paths correctly else check whether your turbo c path is as follows or not
C:\\tc\\lib

if it isn't like the above 1 , change your folder names to make the turbo c folder look like as c:\\tc\\

2) Always save the file first before compiling it ,
To compiler use short key Alt+F9
To execute use short key Ctrl+F9