Search:
Forum
Beginners
return 2d array from function?
return 2d array from function?
Mar 19, 2009 at 2:56am UTC
gantsooj
(26)
how to return 2d array from function to main?
then can we save 2d array in 2d array of main and use again?
Mar 19, 2009 at 1:32pm UTC
Bazzy
(6281)
You can create the array dynamically and then return the pointer, you can pass the destination array as pointer to the function and modify it in the function or you can use vectors or other standard containers
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs