bonjour,
j'ai un problem dans le remplissage d'une matrice de string
Mais malheuresement le résultat n'est pas le même de richTextBox1 et richTextBox2 et le résultat de richTextBox1 est le vraie
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 static array < array < String ^ > ^ > ^ ListCapt= gcnew array < array < String ^ > ^ >(100000); array<String^>^ subItems=gcnew array<String^>(16) String ^ DumpText=""; for (int i=0;i<=15;i++) {DumpText += subItems[i]+" "; //ListCapt[cpt]=subItems; if(i==15){ListCapt[cpt]=subItems; cpt++; } } DumpText +="\n"; for (int i=0;i<cpt;i++) { richTextBox2->Text=richTextBox2->Text+ListCapt[i][0]+" "+ ListCapt[i][1]+" "+ListCapt[i][2]+" "+ListCapt[i][3]+" "+ListCapt[i][4]+" "+ ListCapt[i][5]+" "+ListCapt[i][6]+" "+ListCapt[i][7]+" "+ListCapt[i][8]+" "+ ListCapt[i][9]+" "+ListCapt[i][10]+" "+ListCapt[i][11]+" "+ListCapt[i][12]+" "+ ListCapt[i][13]+" "+ListCapt[i][14]+" "+ListCapt[i][15]+"\n"; } richTextBox1->Text=DumpText;
sans oublié que je travail avec le Winpcup 4.0 il sert pour construire un sniffer réseau.
comment réglé ce problem
Merci
Partager