delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/13/03:06:00

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4292
Path: news-dnh.mv.net!mv!news.sprintlink.net!europa.chnt.gtegsc.com!gatech!udel!news.udel.edu!brahms.udel.edu!not-for-mail
From: yuehong AT brahms DOT udel DOT edu (Yue-hong Zheng)
Newsgroups: comp.os.msdos.djgpp
Subject: Help: undef ref to 'cout',undef ref to 'ostream'::operator<<(char(const*)'
Date: 12 Jan 1996 13:21:14 -0500
Organization: University of Delaware
Lines: 16
Message-ID: <4d68qq$6bb@brahms.udel.edu>
NNTP-Posting-Host: brahms.udel.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


I want to compile the following c++ prog.:


#include <iostream.h>
main ()

{
cout <<"hello";
return 0;
}

 After I do"gcc -v -x c++ prog1.cpp", i got the above error message.
I also find that iostream.h resides in \djgpp\cplusinc

- Raw text -


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