since my teacher is being... dumb... I thought i ask here
Wood_PeckerCode:while(pickenemy != picking){ infile >> enemy_name; picking ++; } fighting = true; infile >> enemy[LVL]; infile >> enemy[STR]; infile >> enemy[AGL]; infile >> enemy[INT]; infile >> enemy[MP_MAX]; infile >> enemy[HP_MAX]; infile >> enemy[LM]; enemy[MP_CRT] = enemy[MP_MAX]; enemy[HP_CRT] = enemy[HP_MAX];
2
9
13
7
13
10
5
do infile automatically go to the next line when it reads the integers? Why did it displays 0x00000000 when i put a cout in front of infile >> enemy[LVL];?