delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/11/07:35:29

From: Josh Lothian <tlothian AT icx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Stupid newbie question
Date: Tue, 10 Jun 1997 23:33:18 -0400
Organization: Internet Design Group, Inc.
Lines: 24
Message-ID: <339E1C7E.E0B2DDA9@icx.net>
NNTP-Posting-Host: pm4s.icx.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

hello,

I began to write my first program in c++ today, the classic "hello".  I
can compile it just fine under RHIDE, but it will compile the .o file,
but I cannot produce an executable.  There is simply no "run" option.
Is there something real obvious that I am missing? Here is the code:


#include <iostream.h>

int main()
{
 cout<<"hello";
 }

I have the include directory correct, but I can't understand why I can't
make an executable.

Thanks much in advance.
--
Josh Lothian / tlothian AT icx DOT net
 http://user.icx.net/~tlothian


- Raw text -


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