•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 402,390 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,887 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums
Views: 1464 | Replies: 4
•
•
Join Date: Oct 2007
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
Hello
I am having no problem while returning 1 dimensinal array
But am having trouble with 3 dimenional array
No problem with this code
But this doesnt work
Is there anyway I can return 3 dimensional arrays ?
I am having no problem while returning 1 dimensinal array
But am having trouble with 3 dimenional array
No problem with this code
float Mat[][][];
float Mat[];
float *funct1(void)
{
return Mat;
}
void funct2()
{
float *Mat;
Mat=funct1();
}But this doesnt work
float Mat[][][];
float *funct1(void)
{
Mat[][][]={........};
return Mat;
}
void funct2()
{
float *Mat;
Mat=funct1();
}Is there anyway I can return 3 dimensional arrays ?
•
•
•
•
•
•
•
•
DaniWeb C Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Returning 2-dimensional array, how? (C)
- two dimensional array (C)
- multi dimensional array search xml parser (PHP)
- Need help passing a multi-dimensional array (C++)
- Trying to create a method to convert string letters into a two dimensional array (Java)
- Need Help With two-dimensional array (VB.NET)
- Safe Array (C++)
Other Threads in the C Forum
- Previous Thread: Need help in a very easy C progrem
- Next Thread: Copy argv to string in C(newbie question)



Threaded Mode