is this declaration correct
Code:Void Lecture(File *f1, int X[][],int n, int p) { }
this function may read from a text file and store elements in x[n][p]
plzzz i'm getting started with c++, i realyy need ur help
is this declaration correct
Code:Void Lecture(File *f1, int X[][],int n, int p) { }
this function may read from a text file and store elements in x[n][p]
plzzz i'm getting started with c++, i realyy need ur help
it's "void", not "Void". and if you compile with c99 you can use the variable length array.
Code:void Lecture(File *f1, int n, int p , int X[n][p])
Last edited by nimitzhunter; 02-06-2011 at 10:47 PM.
"All that we see or seem
Is but a dream within a dream." - Poe