Bonjour à tous,

J'ai un problème avec un array.

mon array se présente comme cela:
array<array<System::String^>^,1>(MAX_CPTS)

et je ne sais pas comment l'initiliser avec une chaine vide j'ai tenté avec la methode Format() mais rien a faire:

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
 
 
 
Cpt = gcnew array<array<System::String^>^,1>(MAX_CPTS);
Init();
 
 
bool Programme::Init()
	{
		int nb,nbProp;
		String ^null = " ";
		for(nb =0; nb < MAX_CPTS; nb++)
		{	for(nbProp =0; nbProp < NBPROP_CPTS; nbProp++)
			{
				Cpt[nb][nbProp]->Format("{0}", null);
 
			}
		}
}
Quelqu'un pourrait il m'aider SVP ?

Merci d'avance

Kemanke