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++ (Developers)

posted by RayeR Homepage, CZ, 08.06.2010, 13:12

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.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

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