Alıntı:
#include
#include
void paradox(int M, int temp, int J[], int JOBS, int i) ;
int main()
paradox(machines, tmp, jobtime , jobs, i) ;
printf("%d\n", tmp) ;
system("pause") ;
return 0 ;
} //End of main
void paradox(int M, int temp, int J[], int JOBS, int i) ;
int thmt, k ;
int m[100] ;
m[i] = 0 ;
thmt = 0 ;
for(m[i] = 0 ; m[i] < M ; m[i]++) // End of first inner if
} // End of inner for
if(thmt < temp) // End of second inner if
i = 0 ;
} // End of first outer if
if(i < JOBS) // End of second outer if
} // End of outer for
} // End of paradox function
Arkadaşlar access violation hatası veriyor saatlerdir kafa patlatıyorum ama bi cozum bulamadım.
Bir de "paradox" fonksiyonu kendi icinde kullandım boyle birşey olabilir mi ilk kez deniyorum.
Bir de burda "tmp" değerine "main" fonksiyonunda "99999999" atamışım sonra "paradox" fonksiyonuna soksam bile değeri "main" de yine "99999999" gozukuyo onu nasıl hallederim?
__________________
Access violation hatası(yardım)
Android & IOS Uygulama Geliştirme0 Mesaj
●30 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Android & IOS Uygulama Geliştirme
- Access violation hatası(yardım)