Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global variable
Message
Information générale
Forum:
Visual C++
Catégorie:
Classes
Titre:
Divers
Thread ID:
00610543
Message ID:
00610851
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform