problem with g++ in ns

llewelly@xmission.com llewelly@xmission.com
Thu May 13 00:48:00 GMT 2004


pradyot dhulipala <pradyot_s@yahoo.com> writes:

> Hi all,
> I am running ns2.26 on on Mandrake linux 9.1 with g++
> version (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk).
> I am trying to include iostream.h in my project files

Try <iostream> . The C++ standard never mentions iostream.h 

> that are targeted by by ns makefile.Now iostream
> include stmt works fine for normal files but it gets
> screwed
> up when I use it in my project files.
> 
> I tried g++ too but no luck.In the makefile the
> relevant Includes are
[snip]
> Maybe a little too much info.
[snip]

Could you please post a short-but-complete source code example which
is sufficient to reproduce the problem?



More information about the Gcc-help mailing list