Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert integer to string
Message
From
12/10/2005 21:32:04
 
 
To
All
General information
Forum:
Visual C++
Category:
Coding, syntax & commands
Title:
Convert integer to string
Miscellaneous
Thread ID:
01058521
Message ID:
01058521
Views:
54
Hi,
How could I convert integer/long value to string?
I tried to use (string)myInt and _ltow() but it return error

error C2440: 'type cast' : cannot convert from 'long' to 'class std::basic_string (char),struct std::char_traits(char),class std::allocator(char)

Pls advise.

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform