Hello everyone, I am trying to get back in programing. I started learning in college, and pretty much forgot everything I learned. I was wondering if anyone wouldn't mind taking a look at my stuff, all I did was make a map of x by y, then spit it out. I am using the free bloodshed compiler.
Does anyone know of any sites that has any good homework type exercises? I try to think up my own but it gets pretty tough. There was also a function that you could put the text anywere on the screen you want to... but I can't seem to find it anywere.
//attempt at making a map with array's
using namespace std;
void makemapnum(int x, int y);
int place; // [x],[y] MAKE GLOBAL
int main(int argc, char *argv)
cout<<"Please enter how wide you want the map. :";
cout<<"Please enter how long you want the map. :";
spitmap(); //spits out map
for(int counter=0; counter<y; counter++)
void makemapnum(int x,int y) // counting on the map
int count_x=0, count_y=0;
for(int count_y=0; count_y<y; count_y++)
count_x=0; // resetting count_x for next moving