hello, i need to read in commands from a text file. Once the first line is read into an array if it is a certain word then a certain amount of numbers are read into another array. i have been using
filein>>array[size];
if(command =="MOVETO")
{ filein>>value1[];
filein>>value2[];
}
etc
it doesnt seem to want to work and the compiler does like my use of == but i dont know why?!??!