www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/28/14:21:33

From: "Jose MF" <josemataf AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Just a DJGPP Newbie
Date: Thu, 28 Dec 2000 18:13:02 -0000
Organization: Netvisao NNTPCache
Lines: 41
Message-ID: <978030575.223213@news>
NNTP-Posting-Host: 213.228.128.15
Mime-Version: 1.0
X-Trace: sagan.global-one.pt 978034281 18574 213.228.128.15 (28 Dec 2000 20:11:21 GMT)
X-Complaints-To: abuse AT global-one DOT pt
NNTP-Posting-Date: 28 Dec 2000 20:11:21 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Cache-Post-Path: news!wha__ AT pal-213-228-145-187 DOT netvisao DOT pt
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.


- Raw text -


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