Im working on a program that will esentially open a file read it and output the info on a new file. The contents of the file is simply an array...so i start by declaring the array however when i want the C: window to display my output
instead of getting my array i get 0012FF34..what gives?
is it throwing me a random value instead of displaying my array or is it
giving me the address
thanx in advance
im a newbie to C++ so please cope with my lack of knowledge
juju
Code:#include <iostream> using namespace std; int main() { int jane[4][3]= {{0,0,0},{0,1,1}, {1,0,1}, {1,1,0} }; cout << "the matrix is:\t" << jane << endl; return 0; }