Text only
|
Text with Images
Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: oligaz on July 28, 2009, 10:29:23 AM
Title:
How can I send a matrix into a function?
Post by:
oligaz
on
July 28, 2009, 10:29:23 AM
void xxx(int A[10][10])
{
...
}
or
void xxx(int (*A)[10])
{
...
}
int main()
{
int A[10][10];
xxx(A);
return 0;
}
This code does not work!
Title:
Re: How can I send a matrix into a function?
Post by:
thomas
on
July 28, 2009, 10:34:34 AM
And this is not a learning C/C++ forum.
Text only
|
Text with Images