Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global variable
Message
General information
Forum:
Visual C++
Category:
Classes
Title:
Miscellaneous
Thread ID:
00610543
Message ID:
00610851
Views:
19
If it is a simple variable you want declare it above the main() function call:

int MyVar ;

main()
{
...
}

It is now visible in your whole program.

MLW
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform