delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/20/08:30:28

From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp (gcc.exe)
Date: Sat, 19 Apr 1997 22:16:21 GMT
Organization: Southwest Missouri State University
Lines: 13
Message-ID: <33594381.22797087@ursa.smsu.edu>
References: <1 DOT 5 DOT 4 DOT 16 DOT 19970418131708 DOT 0adf6e44 AT mail DOT interlog DOT com>
NNTP-Posting-Host: forseti.i133.smsu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sat, 19 Apr 1997 06:14:26 GMT, jackelope <fenney AT interlog DOT com> wrote:

>    gcc -v myfirst.cc -o myfirst.exe

>    cout << "hello\n";
>
>it returns some message saying 'cout is an unrecognized class'

Have you downloaded all the necessary files for compiling C++ programs?  If not,
then get the FAQ and download the necessary files. 

If you have downloaded all the C++ binaries, then the problem may be that you're
using gcc instead of gxx (which automatically links the iostream library.

- Raw text -


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