By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,148 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,148 IT Pros & Developers. It's quick & easy.

Double to String not working

P: 27
I'm trying to convert a double to a string with C++ and can't get it to work. I've tried Convert.ToString(...) and a few other permutations (System::Convert.ToString(...), etc), but nothing works. For some reason I keep getting back that Convert is not a part of the System namespace. Basically, the compiler can't recognize ToString() as a usable function. Any ideas on what's going wrong?
Mar 9 '07 #1
Share this Question
Share on Google+
2 Replies


kenobewan
Expert 2.5K+
P: 4,871
Moved to C++
Mar 11 '07 #2

100+
P: 1,646
I'm trying to convert a double to a string with C++ and can't get it to work. I've tried Convert.ToString(...) and a few other permutations (System::Convert.ToString(...), etc), but nothing works. For some reason I keep getting back that Convert is not a part of the System namespace. Basically, the compiler can't recognize ToString() as a usable function. Any ideas on what's going wrong?
But, according to this, you have got it working
Mar 11 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.