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
28
users logged in
New?
Learn about game development
.
Before posting, review our
community guidelines
.
Support GameDev.net with a monthly
GDNet+ subscription
!
Follow Us
Chat in the
GameDev.net Discord!
Back to For Beginners
Advertisement
references
For Beginners
Started by
jar
June 01, 2002 11:19 PM
1
comment, last by
jar
22 years, 5 months ago
jar
Author
122
June 01, 2002 11:19 PM
in c++, how do you pass multi-dimensional arrays by reference?
Cancel
Save
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
Advertisement
jar
Author
122
June 02, 2002 01:02 PM
Thanks!!!
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
Calculate angles to render 3D actor as an affine-transform sprite
Math and Physics
Inheritance tree
General and Gameplay Programming
Falloff
Math and Physics
Occluder from AABB, near plane 'fix'?
Graphics and GPU Programming
Ideas for mechanics for battles.
Game Design and Theory
When you Decide to add BGM to your project...
For Beginners
Advertisement
Recommended Tutorials
Iocaine Studios
Interviews
Project Management
Production and Management
Resource Files Explained
General and Gameplay Programming
Basic Encryption
General and Gameplay Programming
Designing an Extensible Particle System using C++ and Templates
Graphics and GPU Programming
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2024 GameDev.net, LLC
Back to Top