|
-
Nov 17th, 2000, 08:33 AM
#1
Thread Starter
PowerPoster
How can I declare a public variable in C++ (without MFC) and so that I can share this variable in two different cpp file.
example:
I have 2 variable name ptX and ptY both are double data type.
I need to store a value at runtime into this variable at a.cpp and use this value in b.cpp.
Thanks,
Chris.C
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|