delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/11/09:30:12

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: allegro and math libraries
Date: 11 Jan 2002 14:21:08 GMT
Organization: Cornell University
Lines: 31
Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-205.syr.east.verizon.net)
Message-ID: <Xns91935F2301293ASINANUNUR@132.236.56.8>
References: <5cp%7.332292$ez DOT 47656452 AT news1 DOT rdc1 DOT nj DOT home DOT com> <Xns91939FA2EA6EASINANUNUR AT 132 DOT 236 DOT 56 DOT 8>
NNTP-Posting-Host: pool-141-149-206-205.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1010758868 26538 141.149.206.205 (11 Jan 2002 14:21:08 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 11 Jan 2002 14:21:08 GMT
User-Agent: Xnews/L5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"A. Sinan Unur" <asu1 AT cornell DOT edu> wrote in
news:Xns91939FA2EA6EASINANUNUR AT 132 DOT 236 DOT 56 DOT 8: 

<snip>

> It probably has a whole bunch of bugs.

This, of course, referred to the code I posted, not allegro, and, of 
course, it was a correct statement. If you want to run this, you should 
replace:

>      if (argv[1]) speed = atoi(argv[1]);
>      if (argv[2]) fg = atoi(argv[2]);
>      if (argv[3]) bg = atoi(argv[3]);

in main with:

	switch(argc)
	{
		case 4 : bg = atoi(argv[3]);
		case 3 : fg = atoi(argv[2]);
		case 2 : speed = atoi(argv[1]);
                       break;
	}



-- 
--------------------------------
A. Sinan Unur
http://www.unur.com/

- Raw text -


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