From owner-freebsd-questions Thu Nov 19 09:36:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA25470 for freebsd-questions-outgoing; Thu, 19 Nov 1998 09:36:57 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA25435 for ; Thu, 19 Nov 1998 09:36:52 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id JAA18340; Thu, 19 Nov 1998 09:36:10 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 19 Nov 1998 09:36:10 -0800 (PST) From: Doug White To: "Alain G. Fabry" cc: freebsd-questions@FreeBSD.ORG Subject: Re: iostream.h header file not found In-Reply-To: <009b01be1340$679e87f0$5531d5c6@earth.coserve.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 18 Nov 1998, Alain G. Fabry wrote: > I'm just learning C, C++ and am trying to compile this stupid little > program but its giving me an error. I trying to include the iostream.h > file, but it replies with : iostream.h no such file or directory. I > looked for this file and it was located in /usr/include/g++/ Can I use > this file in a C program? How do I make it recognize this file? Are you compiling using 'g++' and not 'gcc'? Running g++ will set up the include paths properly, among other things. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message