www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/24/06:50:20

From: "Mor,Ady/TAVBB" <A DOT Mor AT tav DOT mitsui DOT co DOT jp>
Newsgroups: comp.os.msdos.djgpp
Subject: Help with djgpp error / newbie
Date: Thu, 24 Dec 1998 13:44:13 +0200
Organization: Mitsui & Co., Ltd.
Lines: 43
Message-ID: <3682290D.3F338C45@tav.mitsui.co.jp>
NNTP-Posting-Host: 192.116.191.221
Mime-Version: 1.0
X-Trace: news.ibm.net.il!ibm.net 914499697 26998 (none) 192.116.191.221
X-Complaints-To: postmaster AT ibm DOT net
X-Mailer: Mozilla 4.06 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello All,

Please please p;lease give me a hand:

I have just installed the DJGPP compiler (for C++) which I downloaded
from delorie.com.

I have written a very basic program and compiled succesfully (to my
amazement). (The source is below...)
Now I want to run (exec) and I get an error message indicating that
ld.exe has no input files.

When I run ld.exe I get the following line ("d:/djgpp/bin/ld.exe: no
input files."

Can anybody please tell me what is the problem, why it matters and how
can I overcome it and run my program?

It is very important as it is my first exercise for university.... :)

thanks a million!

P.S. Does anybody know if I can print from this RHIDE editor?

Ady Mor

Source:
/* Program receives height, width and length and prints out volume of
chest */

#include <iostream.h>
void main ()
{
cout<<"Enter height width and length (do not use commas)"<<endl;
double  height, width, length;
cin>>height>>width>>length;
double   volume=height*width*length;
cout<<"volume of chest is:"<<volume<<endl;
}




- Raw text -


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