Otóż mam taki oto kod :
#include <stdlib.h>
#include <iostream>
#include <math.h>
using namespace std;
double tab[10], d;
int a, b, c, i;
int main()
{
cin >> a;
for ( i = 0;i >= a;i++)
{
cin >> b >> c;
d = pow(b, c);
tab[i] = d;
}
for ( i = 0;i == a;i++);
{
cout << tab[i] << endl;
}
system("PAUSE");
return 0;
}
I jak podaje wartość a np. 2 to wyrzuca mi w konsole 0 i się kończy. Może jestem ślepcem i sprawa jest oczywista ale nie mogę się doszukać błędu.