Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Return 2-D Array in C
Name: Rolos Date: February 9, 2006 at 21:26:46 Pacific OS: Windows XP CPU/Ram: Intel P4 Product: PC
Comment:
Hey Guys,
I'm running into some trouble with returning a two dimensional array from a function in C, specifically a type double, 2-d array returned from a function. I've been ripping through pages on Google and I can't find a reference page that explains the subject matter very well. Any suggestions? Thanks in advance.
Name: Rolos Date: February 9, 2006 at 22:10:40 Pacific
Reply:
Hey Guys,
I came up with a solution to my problem. Sorry for the trouble, it's late, I'm delirious and there's nothing worse than doing a numerical analysis problem late in such a state.
Summary: Hi, How do you dimension a 2-D array in C? I know in C++, I can use dynamic allocation (pointer to pointer). In C, I read about malloc. How does malloc works and what is the format? My array size is...
Summary: For a project of mine in C++, i need to create a 2d that displays something along these lines,while i need a little help getting started since i am fairly new to 2d arrays, thx for ur time. I am using...
Summary: Hi, I don't know how to do the following because I don't know how to use the string array in C++. Please Help!!! Thanx! #include <iostream.h> #include <string.h> class pizza { private: char**...