delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/28/15:51:31

From: Steve Offutt <indmold AT oz DOT sunflower DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Just a DJGPP Newbie
Date: Thu, 28 Dec 2000 20:34:23 GMT
Organization: Deja.com
Lines: 61
Message-ID: <92g84f$t4e$1@nnrp1.deja.com>
References: <978030575 DOT 223213 AT news>
NNTP-Posting-Host: 209.16.215.192
X-Article-Creation-Date: Thu Dec 28 20:34:23 2000 GMT
X-Http-User-Agent: Mozilla/4.7 [en] (Win98; U)
X-Http-Proxy: 1.0 x59.deja.com:80 (Squid/1.1.22) for client 209.16.215.192
X-MyDeja-Info: XMYDJUIDsteveo84
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <978030575 DOT 223213 AT news>,
  "Jose MF" <josemataf AT hotmail DOT com> wrote:
> Hail to you all.
> I'm in trouble using DJGPP. I start playing around it since two days
ago,
> and I think I must learn much about it.
> I'm using rhide as the editor.
>     I have a program wrote in C++ to BorlandC++ 1.0 (Old Dos
Compiler). In
> that program I use 3 files, one of it called Snake.h. In it I have the
> fowling:
> class Snake {
> ..
>     public :
>        Snake();
> ..
> ..
> };
>
> Snake::Snake()
> {
> ..
> }
>
> Its supose to be a class for a Snake :)
> and in the main file: ASnake.cpp :
>
> #include "snake.h"
>
> void main()
> {
>    ...
>    Snake *snake;
>    snake=new Snake();
>    ...
> }
>     I works under Borland Compiler, but when I tried to run into DJGPP
using
> rhide it returns an error:
> "Don't Know how to build snake.o from snake.h"
>     ok, thats all... by the way, I would want to learn more about
DJGPP
> include files and also allegro... and C++ also, if you think you can
help
> me, I would apreciate a hand.
> ~Tanks in advance.
>
Just a gut reaction:

Snake.h != snake.h

HTH

Steve
--
Steve Offutt
*Learning* to program is my hobby


Sent via Deja.com
http://www.deja.com/

- Raw text -


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