|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Unix Compilers
It's C++ code, and I'm trying to use GNU C++ (also known as egcs- c++). The
filename of the program is hello.cpp . The code looks like this:
#include <iostream.h>
int main()
{
cout<<"Hello World"<<endl;
return 0;
}
It keeps on telling me that something can't be found. Something to do with
the header file.
Mike Main
> > Hi,
> >
> > Don't feel bad about it, something like this happens to all Unix users,
so
> > get used to it! :-) I haven't had any trouble using my compilers, but
tell
> > me first: Is it C or C++ code? And what do the filenames look like? How
> > are you compiling? It doesn't sound too tough and I will gladly help
you.
> >
> > Ciao,
> >
> > Lionel
> >
> > On Thu, 15 Jun 2000, J C Lawrence wrote:
> >
> > > Date: Thu, 15 Jun 2000 21:39:14 -0700
> > > From: J C Lawrence <claw@kanga.nu>
> > > Reply-To: gameprogrammer@gameprogrammer.com
> > > To: gameprogrammer@gameprogrammer.com
> > > Subject: Re: Unix Compilers
> > >
> > > On Thu, 15 Jun 2000 23:56:34 -0700
> > > Mike Main <anime6@earthlink.net> wrote:
> > >
> > > > I have a problem. I'm a DOS user going over to Unix. I've
> > > > learned how to navigate the system, manipulate and create files.
> > > > But I'm having trouble getting my GNU Compiler to work. I run cc,
> > > > c++, g++, and bc on a simple "Hello World" program. I feel kind
> > > > of degraded, because I'm a pro DOS programmer, but I don't
> > > > understand why the compiler isn't working. It keeps saying
> > > > something about iolib.h or something. Can someone help me?
> > >
> > > We're going to need an exact copy of your sources, the exact command
> > > line you are invoking GCC with, the exact error message, and the
> > > version of GCC, and libC that you have installed.
> > >
> > > --
> > > J C Lawrence Home: claw@kanga.nu
> > > ----------(*) Other: coder@kanga.nu
> > > --=| A man is as sane as he is dangerous to his environment |=--
> > > =================================================================
> > > The GameProgrammer.Com mailing list is for the open discussion
> > > of any topic related to the art, science, and business of
> > > programming games. This list is especially tolerant of beginners.
> > > We were all beginners once
> > >
> > > To SUBSCRIBE or UNSUBSCRIBE please visit:
> > > http://gameprogrammer.com/mailinglist.html
> > >
> >
> > --
> >
> > "The moon could not continue shining if it had to pay attention to all
the
> dogs barking at it." - Anonymous
> >
> > =================================================================
> > The GameProgrammer.Com mailing list is for the open discussion
> > of any topic related to the art, science, and business of
> > programming games. This list is especially tolerant of beginners.
> > We were all beginners once
> >
> > To SUBSCRIBE or UNSUBSCRIBE please visit:
> > http://gameprogrammer.com/mailinglist.html
> >
>
=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once
To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html
|
|