delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/18/03:29:21

From: "Matt Firewalker" <arenaproject AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro datafiles and binary data
Lines: 12
X-Newsreader: Microsoft Outlook Express 4.72.3155.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Message-ID: <6xMg4.62$OD5.121@newsfeed.slurp.net>
Date: Mon, 17 Jan 2000 13:51:41 -0800
NNTP-Posting-Host: 206.170.166.102
X-Trace: newsfeed.slurp.net 948147394 206.170.166.102 (Mon, 17 Jan 2000 16:16:34 CDT)
NNTP-Posting-Date: Mon, 17 Jan 2000 16:16:34 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

If I were to place a binary file named foo.255 (the extension doesn't
matter, or does it?) into a Allegro datafile, and that binary file had a
single string (e.g. "Big things"), how would I load that string into a char
pointer or object?

e.g.

// not functioning code, just a snippet
char buffer[40];



- Raw text -


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