From: "Jose MF" Newsgroups: comp.os.msdos.djgpp Subject: Re: Just a DJGPP Newbie Date: Thu, 28 Dec 2000 23:27:09 -0000 Organization: Netvisao NNTPCache Lines: 52 Message-ID: <978046039.68387@news> References: <978030575 DOT 223213 AT news> NNTP-Posting-Host: 213.228.128.15 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sagan.global-one.pt 978049745 23227 213.228.128.15 (29 Dec 2000 00:29:05 GMT) X-Complaints-To: abuse AT global-one DOT pt NNTP-Posting-Date: 29 Dec 2000 00:29:05 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 hmm, I just have solve my problem, but I don't like the way I did. Ok I'll start from the beggining. I start rhide with the fation - c:\code\djgpp\bin\rhide ASnake - in order to start a project. The program opens and I started the work. In the button bar e select add twice and include the files ASnake.cpp and snake.h: They are the fowling: //ASnake.cpp -- #include #include "snake.h" //I know C++ is case sensitive void main() { Snake *snake; snake=new Snake(); snake->retMSG(); } //snake.h -- class Snake { public : Snake(); void retMSG(); }; Snake::Snake() { } void Snake::retMSG() { cout<<"Ey!! I'm just a lousy dummy Snake"<