www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/22/20:29:45

From: bacarter AT willamette DOT edu (Brett Carter)
Subject: can't find iostream.h in b16
22 Nov 1996 20:29:45 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <1.5.4.32.19961122225935.00684520.cygnus.gnu-win32@jupiter>
Mime-Version: 1.0
X-Sender: bacarter AT jupiter
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Original-To: gnu-win32 AT cygnus DOT com
Original-Cc: bacarter AT willamette DOT edu
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have searched the faq's and mailing archives for a solution to this
problem, all I can find is to explicitly give the compiler a pathname for
iostream.h

I am trying to compile the following program:

#include <iostream.h>

void main()
{
        cout << "Hello World!\n";
}

I have installed gcc in the c:\usr directory.  I have tried
-Ic:/usr/lib/g++-include with iostream.h in quotes in my program.  It failed
to find it.  I also have tried to explicitly specify the path to iostream.h
in my #include statement, but this also didn't work.  Is there something i'm
missing?
Thanks in advance, 
Brett Carter

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019