Question:
problem with including iostream.h?
2008-01-12 12:08:06 UTC
i recently loaded turbo c on my pc. whenrver i use the header file iostream.h it gives an error which say iostream.h couldnot be included and undefined symbol cout. i have installed it on c: drive only. i even tried changing the directory but it doesnot work. also there is no library function named iostream.h(got other lib files like stdio.h,math.h)so doing what will resolve my problem
Five answers:
2008-01-13 03:43:06 UTC
actually iostream.h is related to c++...so the sw ur using may have lost few setup files....or the header functions......so better reinstall the new version of c++

or it may be with the macros syntax..check it once

or it may be ur fault check the syntax of the code



all the best
srira
2008-01-13 03:24:06 UTC
U might be using an older version of Turbo c which dose not support C++ functions. It could also be that, u dint install it properly. Try Re Installing it.
Sriparna
2008-01-13 15:40:22 UTC
open turbo c,go to Options>Environment>Editor>File,on right,see if the default extension is cpp or c.If it's c,change to cpp,press OK.Now try again with your program.
Blaze
2008-01-12 20:18:06 UTC
options>directories



give the address in all places of folder where u have saved tubro c



Eg:the folder is in c drive

c:\tubro\
Rooble B
2008-01-13 04:20:00 UTC
which version you are using?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...