Bonjour,

Je recherche comment déclaré une variable static de 2 dimentions.
Je travail sous Visual C++ 2005 express en WinForm.
exemple des variables déjà créé :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
/// <summary>
		/// Variable nécessaire au concepteur.
		//**********************************
		// INDEXATION DES CONTROLES.
			static array<TextBox^>^ cTextBoxNomJoueurs ;
			static array<Label^>^ cLabelJoueurs ;
			static array<Label^>^ cLabelPlaAJoueurs ;
			static array<Label^>^ cLabelDéJoueurs ;
			static array<Label^>^ cLabelPlaNJoueurs ;
		/************************************
                                        COMMUN GLOBAL
                *************************************/
			static int gNombreJoueurs ;
			static int gNbreMaxJoueurs ;
			static array<System::String^>^ gNomJoueur ;
			static array<System::String^>^ gNomCase ;
			static array<int^>^ gProDamier ;
		/************************************
                                        PREMIERE PARTIE
                *************************************/	
			static array<System::String^>^ zNomsDéfaut ;
		/************************************
                                        SECONDE PARTIE
                *************************************/
			static array<System::String^>^ zMes ; // Message sur 2 lignes.
			static int zStatus ; // Déroulement du jeu.
			static bool zClav ; // Eviter répétition de la touche <ENTER>.
			static int zPlaceA ; // Places actuelle. 
			static int zPlaceN ; // Nouvelle places.
			static int zScoreDé ; // Score du dé.
			static int zNoJoueur ;
			static int zJoueurX ;
			static System::String^ zNomJ ;
			static int zTour ; // nombre de tour joué.
			static bool zRejoue ;
			static int zHauteurFraInfos ;
			static long zCouleur ;
		/// </summary>
Je voudrais créé une nouvelle variable qui dépend de 2 autres variable :
static int gProJoueurs(int zStatus , int zNoJoueur );
Avec cette déclaration, j'ai l'erreur suivante à la compilation.
1 = error LNK2020:jeton non résolu(06000003) JeuDeOie.Form1::gProJoueurs
2 = fatal error LNK1120: 1 externes non résolus.


Merci d'une réponse ou d'un lien d'exemple ou de FAQ.