Salut à tous


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
array<int^> ^tab = gcnew array<int ^>(nbr_taches);
 
array<int^> ^tab2 = gcnew array<int ^>(nbr_taches);   int i,j;      
int s,s1;
for ( i=1; i <= nbr_taches; i++){
    s=tab[i] / tab2[i];
 
     s1+=s;
 
}
elle m'affiche l'erreur :
error C2676: '/'*binaire : 'System::Int32 ^' ne définit pas cet opérateur ou une conversion vers un type acceptable pour l'opérateur prédéfini
Merci de m'aider à trouver la solution.