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
35
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 General and Gameplay Programming
char* ???
General and Gameplay Programming
Programming
Started by
Sand_Hawk
December 13, 2001 08:50 AM
10
comments, last by
Sand_Hawk
22 years, 4 months ago
Prev
1
2
(current)
Mark_C
122
December 13, 2001 12:00 PM
Notice that in C++ (unlike C) when you pass an array to a function it acts like a pointer.
Making the replace function make more sense
Cancel
Save
Advertisement
Mark_C
122
December 13, 2001 12:01 PM
Its generally bad practice to allocate memory in a function without also freeing it in that function. Unless you are using a class and the destructor deletes it.
Cancel
Save
Prev
1
2
(current)
This topic is closed to new replies.
Advertisement
Popular Topics
Too many managers?
General and Gameplay Programming
The promise of freedom in story games
Game Design and Theory
Facebook Ads for sales on steam, does it work?
Games Business and Law
New Generated Constructor & JIT Issue
AngelCode
Inheriting from application registered class
AngelCode
Advertisement
Recommended Tutorials
Procedural Generation: Pros and Cons
Graphics and GPU Programming
AI Uncertainty and Bayesian Networks - comp.ai.games Thread
Artificial Intelligence
Randomness without Replacement
Math and Physics
IGF 2010: Strange Loop Games
Interviews
Ray Tracing a Tiny Procedural Planet
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