Thursday, July 30, 2009

In turbo c++ ver.1.01 including a file iostream.h in program and compiling it show errors.so what should i do?

the program runs by using printf and scanf.

In turbo c++ ver.1.01 including a file iostream.h in program and compiling it show errors.so what should i do?
printf and scanf are not I/O stream members.. they are function of C library.. you need to include stdio.h





And.. please upgrade your compiler! it's not standard version!
Reply:sigh





if it shows errors, why don't you post them?? how are we supposed to fix errors if we don't know WHICH errors you have?
Reply:First check where in ur computer ur file (iostream.h) is.


It should be either in c:\tc or c:\tc\include.


Next start turboc ide. go to option


select directory.


set either tc or tc\include as found and then compile.


Hope it will help
Reply:Replace that turbo c++


install it again


The best possible way


No comments:

Post a Comment