Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Help me with C++ / Segment of pointer in Turbo C (Developers)

posted by Arjay, 22.06.2010, 13:18
(edited by Arjay on 22.06.2010, 13:29)

> It's not defined in ANSI C how to get full address of some variable. You
> can get only relative pointer in data segment by "&" operator. It depends
> on your compiler. E.g. DJGPP defines _my_ds() symbol (selector to your data
> segment) which completes full address. I think that borland has something
> similar.

On this particular subject a good discussion entitled: "Segment of pointer in Turbo C".

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 269 users online (0 registered, 269 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum