I'm trying to make a little code that makes a 2-dimensional character array and fills it with 0's(or a's or whatever char) for now.
it gives me this error when i compile:
here's the code:invalid conversion from 'const char*' to 'char'
Compiling with Dev-C++ v4.9.9.2Code:int scrsizex=10, scrsizey=10; char scr[scrsizey][scrsizex]; for (int county=0; county<scrsizey;county++){ for (int countx=0; countx<scrsizex;countx++){ scr[county][countx]="0"; } }
Any ideas?