www.delorie.com/archives/browse.cgi | search |
From: | garp AT opustel DOT com (Keith Gary Boyce) |
Subject: | wxwin port (Simple problem c code) |
27 Oct 1996 11:06:21 -0800 : | |
Sender: | daemon AT cygnus DOT com |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <Chameleon.846442806.garp.cygnus.gnu-win32@garp.worldnet.att.net> |
Mime-Version: | 1.0 |
Original-To: | gnu-win32 AT cygnus DOT com |
Original-Cc: | Akiva Atwood <atwood AT netvision DOT net DOT il>, |
"David C. Hoos Sr." <david DOT c DOT hoos DOT sr AT ada95 DOT com> | |
X-Chameleon-Return-To: | garp AT opustel DOT com |
X-PRIORITY: | 3 (Normal) |
X-Mailer: | Chameleon 5.0, TCP/IP for Windows, NetManage Inc. |
Original-Sender: | owner-gnu-win32 AT cygnus DOT 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 AT opustel DOT opustel DOT 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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |