Mail Archives: djgpp/1997/01/03/08:04:40
From: | rbrooks AT utdallas DOT edu (Rusty L Brooks)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Memory management in DJGPP
|
Date: | 3 Jan 1997 02:40:35 GMT
|
Organization: | The University of Texas at Dallas
|
Lines: | 18
|
Message-ID: | <5ahrj3$crt$1@news.utdallas.edu>
|
NNTP-Posting-Host: | inca.utdallas.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have a few questions about djgpp... since I am learning C++ from a
different C++ book, there is some difficulty...
First of all, gcc doesn't seem to handle the keyword far, as in:
char far *harf;
This was mentioned in the info libc.a help files... How can I maintain a
similar functionality?
Secondly, if I want to pass a memory value to a pointer, how do I go about
doing this? (Both for far pointers and near pointer) I get a warning
about casting harf (see above) to an int without a cast if I try something
like:
char *harf = 0x0013 or something similar.
Email replies appreciated, but I *do* read the group, so posting here is
ok too.
- Raw text -