Hello,
I have a 2D array of chars that has a char (@) that I wish to change the colour of that individual char. I came up with some code that I think should have worked, but yielded no response. Here's part of the code:
Wow, it works! I had a 1 dimensional pointer going through a 2 dimensional array because the console is rapidly refreshed, and it made it seem smoother. Now colours work, but it it a little bit choppy, since it's pointing through two for loops now, but that can be tolerated. Thanks for the help!
Btw you should put the "Map" inside the main function globals aren't the best idea. Also in your case you could you could use a 1d array if you want but it'd be long with chars. Or you could make an array of strings maybe?