values into array based on coordinates
Here is the problem I'm trying to develope some code for, but I need ideas.
I have a data file that contains pairs of numbers that represent coordinates in a 20x20 array. I need to read in these coordinates, and in those coordinates put in the value '1', and all other coordinates must be left empty (or maybe 0 could go there).
I'm sorry I don't have any code or even a good idea of what I can do. I'm really stumped and just need some clues about what direction to go in (I know I need to use a loop of some sort).