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
33
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
couting a character given the ascii value?
General and Gameplay Programming
Programming
Started by
Stashi
November 18, 2001 03:18 PM
0
comments, last by
Stashi
22 years, 4 months ago
Stashi
122
Author
November 18, 2001 03:18 PM
if a user enters in a number, how do i have the program print out the character equivalent to that ascii value
Cancel
Save
Advertisement
Martee
476
November 18, 2001 03:21 PM
Just cast it to a char ...
int i = 97; // Ascii code for ''a''
cout << (char)i << endl;
Cancel
Save
ReactOS
- an Open-source operating system compatible with Windows NT apps and drivers
This topic is closed to new replies.
Advertisement
Popular Topics
my experience with game-dev (why most games suck)
GDNet Lounge
Is the level design for my game too boring?
Game Design and Theory
Bestl 2D game engine for starters? (that isn't Unity or Godot) [clearer question than my last post]
For Beginners
Stealth And Detection System
General and Gameplay Programming
How to fight the urge to meticulate?
Writing for Games
How can i NOT get lost and completely lose interest in the infinite sea of game development?
For Beginners
Advertisement
Recommended Tutorials
A Simple COM Tutorial
General and Gameplay Programming
Entities-Parts II: Interactions
General and Gameplay Programming
Get Started Now With Performance Optimization — Learning Resources for Unity Addressables 2020+
General and Gameplay Programming
Why AppUp? A Quick Review of the AppUp Model
General and Gameplay Programming
Insertion Sort
General and Gameplay 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