Hey everyone!!
I am having trouble printing the whole of a multidimensional char array.
#include <iostream>
using namespace std;
int main(){
char array [5][10] = {"---------",
"| |",
"| |",
"---------"};
cout << array << endl;
system ("pause");
return 0;
}
It just gives me random numbers and letters. (I understand that these are "gaps" in memory).
I have been all over google...
PLEASE HELP!!
Thank you sooo much in advance!
Sincerely,
Gernicha