I compiled a program I worked on for a few weeks, and (without any suprises), it had over a hundred errors. I can fix them in time, but one major problem is that my program pretty much rests on the ability of a certain command to work. I have a class set up, with a two dimensional pointer array and several additional functions. The functions run through the array, setting the location that each slot points to to a new struct, and then modifying the variables in each struct (each struct is different). I do this like this:
*environment[temp][temp2].type_value="cell" (as an example).
I know now that the syntax of this is incorrect. (temp and temp2, by the way, are variables in double for loop). Does anyone know an alternative to this? Preferably one that might work