|
|
 |
 |
 |
 |
far pointers...
I read about far pointers on net...I got the idea about that...nut still I am unable to imagin any example where we desperately need it... Can anyone tell me where we can use it by using an example...
In article <1180532382.309124.209@d30g2000prg.googlegroups.com>, Shraddha <shraddhajosh@gmail.com> writes >I read about far pointers on net...I got the idea about that...nut >still I am unable to imagin any example where we desperately need >it... >Can anyone tell me where we can use it by using an example...
FAR pointers are used to access something FAR away... too far to reach with an ordinary pointer It must be the start of another semester judging by all the homework questions that are popping up. What ever happened to research, reading the manuals and trying something yourself..... I'm starting to sound like my dad now! -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ c@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On May 30, 6:39 pm, Shraddha <shraddhajosh@gmail.com> wrote: > I read about far pointers on net...I got the idea about that...nut > still I am unable to imagin any example where we desperately need > it... > Can anyone tell me where we can use it by using an example...
We do not use it. Far concept is an age old concept which is dead now. Ansi C does not have any notion of Far or near pointers. If you are using some pre historic 16 bit compiler, better dump it.Its of no use. Switch to a modern 32 bit compiler. Thanks --pradeep
In article <1180534653.767105.261@d30g2000prg.googlegroups.com>, blufox <2500.prad@gmail.com> writes
>On May 30, 6:39 pm, Shraddha <shraddhajosh @gmail.com> wrote: >> I read about far pointers on net...I got the idea about that...nut >> still I am unable to imagin any example where we desperately need >> it... >> Can anyone tell me where we can use it by using an example... >We do not use it. >Far concept is an age old concept which is dead now. >Ansi C does not have any notion of Far or near pointers. >If you are using some pre historic 16 bit compiler, better dump it.Its >of no use. >Switch to a modern 32 bit compiler. >Thanks >--pradeep
I have some very modern compilers with FAR pointers. They do not target DOS or WInTel though. You have assumed the OP is targeting Windows. There are many other RTOS and architectures out there -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ c@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
On 30 Mai, 21:17, blufox <2500.prad@gmail.com> wrote: > We do not use it. > Far concept is an age old concept which is dead now.
I whished the 64 bit systems had introduced an optional NEAR/FAR mixed memory modell. Depending on the data modell it might be very helpfull to avoid the memory blow for 64 bit programs.
On 30 May 2007, llothar <llot@web.de> wrote: > On 30 Mai, 21:17, blufox <2500.prad @gmail.com> wrote: >> We do not use it. >> Far concept is an age old concept which is dead now. > I whished the 64 bit systems had introduced an optional NEAR/FAR > mixed memory modell. > Depending on the data modell it might be very helpfull to avoid > the memory blow for 64 bit programs.
You're right that for many programs, there's no advantage to being compiled for 64-bits and possibly real disadvantages. But most 64-bit systems will happily run 32-bit binaries. I hope and pray that memory models stay _FAR away from me! ;-) Dave -- D.a.v.i.d T.i.k.t.i.n t.i.k.t.i.n [at] a.d.v.a.n.c.e.d.r.e.l.a.y [dot] c.o.m
Shraddha <shraddhajosh @gmail.com> writes: > I read about far pointers on net...I got the idea about that...nut > still I am unable to imagin any example where we desperately need > it... > Can anyone tell me where we can use it by using an example...
<http://www.google.com/search?q=%22far+pointer%22> -- Keith Thompson (The_Other_Keith) k@mib.org <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"
On May 30, 6:39 pm, Shraddha <shraddhajosh@gmail.com> wrote: > I read about far pointers on net...I got the idea about that...nut > still I am unable to imagin any example where we desperately need > it... > Can anyone tell me where we can use it by using an example...
In 16bit DOS, Far Pointer is 16bits:16bits which is 32-bits, in 32-bit WIndows far pointer is 16bits:32bits which is 48-Bits. -Vinoj
|
 |
 |
 |
 |
|