(Moved)
Your shell has variables set (seen with the env command). One of them is the LD_LIBRARY_PATH. You need to find where the file iostream.h is located and add that directory path to your LD_LIBRARY_PATH.
# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/openwin/lib
(Ours is set up in a second profile)
# . /u/etc/profile
Profile Rev: v1.2.0.4 Platform: SunOS Architecture: sun4u
Initializing: ................ Done.
#
# echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib:/u/lib:/usr/ccs/lib:/usr/5bin/lib:/usr/ucblib:/usr/xpg4/lib:/u/lib:/usr/openwin/server/lib:/usr/openwin/lib:/usr/opt/SUNWmd/lib
Quote:
quote from other topic
I am trying to run a c program on an account I have on someones debian linux based server. My c program uses iostream.h, but I get an error saying this file is not located in directory.
So the OS is Debian Linux, not WinXP - the Linux system is where you are compiling, correct?
To find the file, you can ask the Sys Admin, or try using the find command (man find) - it may be in /usr or /u (it matters how the system is set up).
And honest too.