Article View: att.lang.c++
Article #277Main adress...
From: dziablo
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
14 lines
988 bytes
988 bytes
I would like to know How I could get the Adress of my MAIN function with the help of a FAR pointer. I would Have to get the result printed something like: The Adrs of "void main(void)" is 1234:5678 But I don't know how to declare a pointer to a function that is also far and that would be able to take the adress of MAIN. Could someone help me please... I'm using Borland C++ 3.1 -- Dziablo@lords.com
Technical Details
Message-ID:
<01bc3367$40922960$5c68fdcf@pboucher.videotron.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,feace98f5588d11f,start X-Google-Attributes: gid109fba,public X-Google-Thread: 108b44,feace98f5588d11f,start X-Google-Attributes: gid108b44,public X-Google-Thread: 10d4ba,feace98f5588d11f,start X-Google-Attributes: gid10d4ba,public From: "dziablo" <dziablo@lords.com> Subject: Main adress... Date: 1997/03/19 Message-ID: <01bc3367$40922960$5c68fdcf@pboucher.videotron.ca> X-Deja-AN: 226630451 Organization: The Happy Greloze Team Newsgroups: att.lang.c++,comp.lang.c++,comp.sys.lang.c++