cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/28/06:35:15

From: leonj AT geocities DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: game programming
Date: Mon, 28 Dec 1998 06:01:31 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 27
Message-ID: <7676rr$qq9$1@nnrp1.dejanews.com>
References: <368603C8 DOT C7BDF4CA AT kolumbus DOT fi>
NNTP-Posting-Host: 152.201.10.229
X-Article-Creation-Date: Mon Dec 28 06:01:31 1998 GMT
X-Http-User-Agent: Mozilla/4.05 [en] (Win95; I)
X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 152.201.10.229
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


> Here is error list:
>
> line 65:    parse error before '*'
> line 65:    parse error before 'far'
> line 66:    parse error before '*'
> line 66:    parse error before 'far'


> in function 'main':
> line 196:  warning: return type of 'main' is not 'int'

This is the only I can help you with. Kinda simple, but I dunno why it
happend to me too. Change the return type for main from just main() "int
main" and then at the very end of the program type "return 0".

I also have he same book and have not been able to compile anything from it.
I've have to re-write the source from scratch, such as setMode(). Lemme know
if you find out the other problems.

And where in the book does it say that it's compatible with DJGPP?

JL

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

- Raw text -


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