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:
Quelqu'un pourrait il m'aider SVP ?
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); } } }
Merci d'avance
Kemanke
Partager