cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
How to match array?
How to match array?
Jul 12, 2014 at 6:39pm UTC
quisite
(30)
I have a question here.
How do I match/overlap the array location of subfunction with/to main function?
For Example,
(subfunction)
menu[3][2]
to (main)
menu[y][x]
3 to y & 2 to x
Jul 12, 2014 at 7:43pm UTC
wildblue
(1505)
Is the menu array sent as a parameter in the function call in main to the subfunction?
Jul 13, 2014 at 4:00am UTC
quisite
(30)
menu array in subfunction is the return value and now I would like to call the exactly same memory location in main and gives it value, can i do that in standard c++??
Jul 13, 2014 at 4:03am UTC
quisite
(30)
(subfunction) menu[3][2] = 3
(subfunction)
return
menu[3][2] -> (main) menu[y][x]
Topic archived. No new replies allowed.