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
14
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
hi, how to put a the data of a char into a WCHAR?
For Beginners
Started by
mickey
March 30, 2002 09:00 AM
-1
comments, last by
mickey
22 years, 9 months ago
mickey
Author
100
March 30, 2002 09:00 AM
for example, char myname[] = "john"; WCHAR wName[sizeof(myname)]; cout << myname; // outputs john wName = (WCHAR)john; cout << wName; // weird output
thanks!
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,
Cancel
Save
This topic is closed to new replies.
Advertisement
Popular Topics
poker game
For Beginners
Merry Christmas!
GDNet Lounge
Adding Support for Custom Literal Constants
AngelCode
Power consumption
GDNet Lounge
sorting algorithm
For Beginners
drawing lines in SDL
For Beginners
Advertisement
Recommended Tutorials
Queasy Games
Interviews
Notes on GameDev: Blaine Christine
Interviews
Introduction to Pointers, Structures and Linked-Lists Part 10
General and Gameplay Programming
What Language Do I Use?
General and Gameplay Programming
Making Machines Learn
Artificial Intelligence
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