delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/09/13:42:06

From: "Oliver Batchelor" <batch AT netaccess DOT co DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Writing to a file.
Date: 8 Jul 1998 23:43:42 GMT
Organization: The World's Usenet -- http://www.Supernews.com
Lines: 14
Message-ID: <01bdaac9$dbe7ec80$bf0562cb@default>
NNTP-Posting-Host: 203.98.5.191
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,
I am writing a map editor for a game I am making A rts game with tiles.
I have a big array of tiles.

eg. unsigned char map[100][100]

I have done the editing part. All I need now is to save the array into a
file.

Can anyone tell me how I would dump the array to a binary file ??

thanks,

Oliver Batchelor

- Raw text -


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