Solved

atoi / itoa for CString?

Posted on 1997-08-20
2
2,083 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
repeatEnd java challenge 42 83
withoutTen challenge 14 88
zeroMAx challenge 20 76
Path of Workbook 3 45
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now