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
32
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
string to value
General and Gameplay Programming
Programming
Started by
xstreme2000
May 04, 2000 07:11 PM
0
comments, last by
xstreme2000
23 years, 11 months ago
xstreme2000
152
Author
May 04, 2000 07:11 PM
If you''ve got a string eg "1024" is the a function extract the value ( something like int i = StrToVal("1024)) ?????????
Cancel
Save
Advertisement
acw83
174
May 04, 2000 07:35 PM
You want the functions atoi and atof. atoi changes the string to an int, atof changes it to a float.
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
Cryptic Sea
Interviews
Building a First-Person Shooter: Part 1.3 Keyboard Inputs
General and Gameplay Programming
How to Get Started Programming Your First Game - Part 1
General and Gameplay Programming
Video Game Localisation - A Tricky Game
Business and Law
Intro to 3D Graphics Programming: Volume II
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