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 Pablo, 31.05.2010, 08:22

Hello
I am trying to re-writing my program Explorer PC (graphical file manager for DOS).Before it was written in Turbo Assembler but now I am using Turbo C++.
My problem is that need making to ensure to me that several variables remain together in the executable file (.exe) or when running are located together in the same segment.
For example:
int a; SEG=0 OFFSET=0
int b; SEG=0 OFFSET=2
int c; SEG=0 OFFSET=4
In assembler I can control this but in C++ is possible?
Thanks

 

Complete thread:

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