We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

atoi / itoa for CString?

Grailman
Grailman asked
on
Medium Priority
2,180 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?
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Yeah that'll work but I'm lazy and hoped there was a quick and dirty way. Thanks.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.