Solved

atoi / itoa for CString?

Posted on 1997-08-20
2
2,094 Views
Last Modified: 2013-11-19
Is there functionality like itoa and itoa for CString or do you need to manipulate a seprate string then convert to CString?
0
Comment
Question by:Grailman
2 Comments
 
LVL 4

Accepted Solution

by:
davmarc earned 20 total points
ID: 1304313
There are not CString methods like itoa(), but you can always get the raw C-style array of char that CString wraps and use the conversion functions on it.

Davide Marcato.
0
 
LVL 1

Author Comment

by:Grailman
ID: 1304314
Yeah that'll work but I'm lazy and hoped there was a quick and dirty way. Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 53
Add content to output file 4 70
How to determine file rename from EventLog ? 2 57
maxBlock challenge 30 145
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question