All Content
Blogs
Forums
News
Tutorials
Log In
Sign Up
Login
Username / Email
Password
Remember me
Forgot password?
Login
or
Don't have a GameDev.net account?
Sign up
Forgot your password?
Email Address
Reset Password
Please contact us if you have any trouble resetting your password.
Home
Blogs
Forums
News
Portfolios
Projects
Tutorials
34
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Follow Us
Chat in the
GameDev.net Discord!
Mastodon
Back to For Beginners
references
For Beginners
Started by
jar
June 01, 2002 11:19 PM
1
comment, last by
jar
21 years, 10 months ago
jar
122
Author
June 01, 2002 11:19 PM
in c++, how do you pass multi-dimensional arrays by reference?
Cancel
Save
Advertisement
sphinx23
188
June 02, 2002 12:36 PM
char _2d_array[12][12];
void func (char **a)
{
...
}
func (_2d_array);
only the memory reference to _2d_array is passed to the function.
Cancel
Save
jar
122
Author
June 02, 2002 01:02 PM
Thanks!!!
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
How do you manage yourself and your time as years pass on?
GDNet Lounge
Too many managers?
General and Gameplay Programming
Do your part to stop global warming and climate change
GDNet Lounge
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
Understanding the wavy-like shape in alpha-testing magnification for text rendering
Graphics and GPU Programming
Advertisement
Recommended Tutorials
Contract Mumbo Jumbo
Career Development
Intrinsic and Extrinsic Motivation
Game Design and Theory
GameIS 2008 Coverage
Event Coverage
The 4Ps of Marketing
Business and Law
Is VR Really the Future of Gaming - or Just a Fad?
Interviews
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top