From: garp@opustel.com (Keith Gary Boyce)
Subject: wxwin port (Simple problem c code)
27 Oct 1996 11:06:21 -0800
Sender: daemon@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Chameleon.846442806.garp.cygnus.gnu-win32@garp.worldnet.att.net>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: gnu-win32@cygnus.com
Original-Cc: Akiva Atwood <atwood@netvision.net.il>,
        "David C. Hoos Sr." <david.c.hoos.sr@ada95.com>
X-Chameleon-Return-To: garp@opustel.com
X-PRIORITY: 3 (Normal)
X-Mailer: Chameleon 5.0, TCP/IP for Windows, NetManage Inc.
Original-Sender: owner-gnu-win32@cygnus.com

I've some simple c code to compile with gnu-win32 compiler.
Like I said I'm rusty at C and new to C++. What's going on here..
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>

main ()
{
	ofstream garp;
}

gives error
bash$ gcc -o garp.exe garp.cpp
/WINDOWS/TEMP/cc0011551.o(.text+0x1a):garp.cc: undefined reference 
to `ofstream::ofstream(int)'
bash$

Name: Garry Boyce
E-mail: garp@opustel.opustel.com (Garry Boyce)
Date: 12/01/94
Time: 08:46:10

This message was sent by Chameleon 
-------------------------------------

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