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
22
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, 6 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
poker game
For Beginners
Power consumption
GDNet Lounge
sorting algorithm
For Beginners
drawing lines in SDL
For Beginners
Poker hand probabilities for n-card hand, where n=1 through n=5
Math and Physics
writing a s3m file saver for modplug tracker
General and Gameplay Programming
Advertisement
Recommended Tutorials
Get Started Now With Performance Optimization — Learning Resources for Unity Addressables 2020+
General and Gameplay Programming
3ds Max 2016 New Features Overview
Visual Arts
Dynamic 2D Soft Shadows
Graphics and GPU Programming
Bilinear Texture Filtering – Artifacts, Alternatives, and Frequency Domain Analysis
Graphics and GPU Programming
Non-linearity in Games
Game Design and Theory
Advertisement
Reticulating splines
About GameDev.net
Community Guidelines
Terms of Service
Privacy Policy
Contact Us
Copyright (c) 1999-2025 GameDev.net, LLC
Back to Top