Mail Archives: djgpp/2001/06/16/20:52:31
X-Originating-IP: | [158.252.50.113]
|
From: | "Noah Fields" <hano11188 AT hotmail DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | linking
|
Date: | Sat, 16 Jun 2001 20:48:44 -0400
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
Message-ID: | <OE47zfoV1qdiixjnzi90000c37c@hotmail.com>
|
X-OriginalArrivalTime: | 17 Jun 2001 00:51:35.0341 (UTC) FILETIME=[A8918DD0:01C0F6C7]
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C0F6A5.BB8D24C0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
It would be great if someone answered this because then you would be the =
best support ever!:
I am starting C++ and I got RHIDE and DJGPP. =20
In the Rhide editor I went to File and clicked new.
I typed in the program:
#include <iostream.h>
int main()
{
cout << "Hello World\n";
return 0;
}
Then I went to Compile, compile and saved it as hellow.cpp.
It said it compiled fine. So then I wasn't sure what to do and opened =
the object file "hellow.o" in the editor window thing and pressed on =
Compile, link. I think that is what I was supposed to do. So the in =
the message area I got an error saying=20
Error: gcc.exe: No input files
... so that didn't work.
Then I tried the make thing in Compile while I had hellow.o open. It =
then said in the message window=20
Creating: hellow.exe
The error was: Invalid argument (EINVAL)
no errors
So then I got tottaly comfused cause it said The error was...
and then it said no errors. Could you tell me how to make a program =
that works with no errors? That would be great, thanks!
=20
------=_NextPart_000_0007_01C0F6A5.BB8D24C0
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>It would be great if =
someone answered=20
this because then you would be the best support ever!:</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>I am starting C++ and I =
got RHIDE and=20
DJGPP. </FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>In the Rhide editor I =
went=20
to File and clicked new.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>I typed in the =
program:</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>#include=20
<iostream.h></FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>int main()</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>{</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2> cout =
<< "Hello=20
World\n";</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2> return =
0;</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>}</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Then I went to Compile, =
compile and=20
saved it as hellow.cpp.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>It said it compiled =
fine. So=20
then I wasn't sure what to do and opened the object file "hellow.o" in =
the=20
editor window thing and pressed on Compile, link. I think that is =
what I=20
was supposed to do. So the in the message area I got an error =
saying=20
</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Error: gcc.exe: No =
input=20
files</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>... so that didn't =
work.</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Then I tried the make =
thing in=20
Compile while I had hellow.o open. It then said in the message =
window=20
</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>Creating: =
hellow.exe</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>The error was: Invalid =
argument=20
(EINVAL)</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>no errors</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>So then I got tottaly =
comfused cause=20
it said The error was...</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 size=3D2>and then it said no =
errors. =20
Could you tell me how to make a program that works with no errors? =
That=20
would be great, thanks!</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000000 =
size=3D2> </FONT></DIV></BODY></HTML>
------=_NextPart_000_0007_01C0F6A5.BB8D24C0--
- Raw text -