delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/13:19:03

From: Ho-Jin Dan <naturalis AT cais DOT kaist DOT ac DOT kr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trivial question...
Date: Sat, 09 May 1998 01:46:50 +0900
Organization: KAIST
Lines: 32
Message-ID: <355336FA.DF109CC5@cais.kaist.ac.kr>
References: <355304B1 DOT 3536D469 AT writeme DOT com>
NNTP-Posting-Host: casad4.kaist.ac.kr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

just do

g++(or gpp) -o couttest.o couttest.cc

20000~ (it means "Goodbye" in the republic of korea)

Flavio Poletti wrote:

> Please, how I can compile this simple C++ program?
>
> (the file is called cout.cc)
>
> #include <iostream.h>
> void main (void)
> {
>     cout<<"Hello world!";
> }
>
> I've tried all ways, there must be something wrong in me!
>
> --
> Ing. Flavio Poletti
> STS s.r.l.
> Via Odoardo Beccari, 13
> 00154 Roma, Italia
> Tel. +39 6 5755096
> FAX  +39 6 57287214
> company e-mail: ststel AT tin DOT it
> private e-mail: poletti AT writeme DOT com

 

- Raw text -


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