delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: problems with cout on Win98 |
Date: | 1 Nov 2002 16:42:47 GMT |
Organization: | Cornell University |
Lines: | 40 |
Sender: | asu1 AT cornell DOT invalid (on pool-141-149-209-145.syr.east.verizon.net) |
Message-ID: | <Xns92B977285E638asu1cornelledu@132.236.56.8> |
References: | <3dc0270e$1 AT news DOT swissonline DOT ch> <3dc1800d$1 AT news DOT swissonline DOT ch> <6ta3suomu4rnrbrrucpfru9bqqhnnq87s0 AT 4ax DOT com> <3dc27637$1 AT news DOT swissonline DOT ch> |
NNTP-Posting-Host: | pool-141-149-209-145.syr.east.verizon.net |
X-Trace: | news01.cit.cornell.edu 1036168967 17802 141.149.209.145 (1 Nov 2002 16:42:47 GMT) |
X-Complaints-To: | usenet AT news01 DOT cit DOT cornell DOT edu |
NNTP-Posting-Date: | 1 Nov 2002 16:42:47 GMT |
User-Agent: | Xnews/5.04.25 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Felix Althaus" <felix DOT althaus AT swissonline DOT ch> wrote in news:3dc27637$1 @news.swissonline.ch: > I'm sorry but that doesn't help! > The errors that now appear: > > testc.cpp:8:2: warning: no newline at end of file > c:/djgpp/tmp/ccq4FglK.o(.text+0x1f):testc.cpp: undefined reference to > `std::cout i recommend: http://www.tuxedo.org/~esr/faqs/smart-questions.html what is the command line you are using to compile your program? the reason this thread has been this long, meaning it is taking you a long time to get an answer, is because you fail to provide adequate information. C:\Dload\misc>cat ttt.cc #include <iostream> using namespace std; int main() { cout << "Hallo"; return 0; } C:\Dload\misc>gpp ttt.cc -o ttt.exe C:\Dload\misc>ttt Hallo C:\Dload\misc> -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |