is this declaration correct
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
No. While declaring you don't use { }. Also the V in void should be small. C/C++ are case sensitive.
Braces are used while defining it.
Correct delaration would be:
void Lecture(File *f1, int X[][],int n, int p);
Function declarations end with a semicolon.
Last edited on