Mail Archives: djgpp/1997/01/05/10:27:00
On 3 Jan 1997, Rusty L Brooks wrote:
> 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.
Please download the DJGPP FAQ list (v2/faq202b.zip) from the same place
you get DJGPP and read Chapter 18 there. It explains everything you are
asking about, and more.
- Raw text -