delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/16:01:45

From: SPAMGUARDriker AT pipcom DOT com (Matt Riker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro Datafiles - More Problems
Date: Thu, 29 Jan 1998 15:59:23 -0500
Organization: Riker Software
Lines: 28
Message-ID: <MPG.f3ab7bac164fa369896c1@news>
References: <MPG DOT f39e7cbc8b4c11d9896bd AT news> <xYFPyCAwhN00Ew$u AT talula DOT demon DOT co DOT uk>
Reply-To: SPAMGUARDriker AT pipcom DOT com
NNTP-Posting-Host: 207.61.241.206
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <xYFPyCAwhN00Ew$u AT talula DOT demon DOT co DOT uk>, 
Shawn AT talula DOT demon DOT co DOT uk says:

 > It sounds to me like you need to dig out a good C book and do some
 > reading about the differences between integers, arrays, and string data!

Yeah, I later figured it out; I have no idea why I didn't figure it out 
in the first place.  I know the differences between integers, arrays, 
and strings; they all start with a different letter! :)  Doh!

 > >Second problem: having 2 datafiles opened at the same time.
 > [...]
 > >   strcpy(get_filename(buf), "c:/maped/testspr.dat");
 > >   user_datafile = load_datafile(buf);
 > 
 > Why make life so complicated for yourself? Since you are using a 

I choose a life of pain ;)  Chances are I grabbed the code out of one of 
the example files.  I'd hate to admit it, but I guess it would be a good 
idea to thoroughly look thru the docs in the future.

Thanks for your help :)

____________________________
Matt Riker
SPAMGUARDriker AT pipcom DOT com
*** Remove SPAMGUARD ***
***  when replying!  ***

- Raw text -


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