okk guys i stored in array now
Code:
const int LevelM[136] = {0, 33, xxx, xxx, .... , 6251550417504 };
const int LevelM[136] = {0, 33, xxx, xxx, .... , 6251550417504 };
whatever language you're using shouldn't matter. why don't you simply do a read in from file?Quote:
okk guys i stored in array now
Code:const int LevelM[136] = {0, 33, xxx, xxx, .... , 6251550417504 };
#define MAX_LEVEL 139
...
...
int levelM[MAX_LEVEL], i=0;
char temp[100];
while (!feof(fileptr)){
if(i>=MAX_LEVEL)
break;
fgets(temp, 100, fileptr);
levelM[i++] = getExp(fgets);
}
fclose(fileptr);