bonjour,
J'ai deux array � d�clarer
je les d�clare sous la forme type nom;
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
				System::String^ wsOldText;    // Ligne 1955
		cli::array<int,1>^ iiValue(25);
		cli::array<int,1>^ iValues(25);
mais le compilateur n'aime pas
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
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(1956): error C2440: 'initialisation'*: impossible de convertir de 'int' en 'cli::array<Type,dimension> ^'
1>          with
1>          [
1>              Type=int,
1>              dimension=1
1>          ]
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(1957): error C2440: 'initialisation'*: impossible de convertir de 'int' en 'cli::array<Type,dimension> ^'
1>          with
1>          [
1>              Type=int,
1>              dimension=1
1>          ]
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2213): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2272): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2278): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2566): error C2227: la partie gauche de '->HasValue' doit pointer vers un type class/struct/union/générique
1>          le type est 'int'
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2567): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2568): error C2227: la partie gauche de '->HasValue' doit pointer vers un type class/struct/union/générique
1>          le type est 'int'
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2569): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2570): error C2065: 'iValues'*: identificateur non déclaré
1>..\..\..\Linguistic\Coherence\src\BuildComponents.cpp(2571): error C2065: 'iValues'*: identificateur non déclaré
qui m'aidera sera