delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/04/08:27:03

From: fiammy AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: BASIC : how to open a file?
Date: Mon, 04 Oct 1999 11:13:04 GMT
Organization: Deja.com - Before you buy.
Lines: 17
Message-ID: <7ta23q$pqv$1@nnrp1.deja.com>
NNTP-Posting-Host: 193.190.182.11
X-Article-Creation-Date: Mon Oct 04 11:13:04 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 193.190.182.11
X-MyDeja-Info: XMYDJUIDfiammy
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am really ignorant about some aspects of C programming, hence this
question:

Could you give me an outline of a routine that loads a file (in DOS),
and returns a pointer to the structure in which you read the file?

I did something that should work, but my compiler DJGPP 2.02 tells me
of an unary pointer.

If possible, mail this answer also to me,
Thanks

David


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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