|
-
Feb 11th, 2003, 08:18 PM
#1
Thread Starter
Registered User
textbox->text = ? in managed C++
i have a textbox...
*TextBox txtbox
What i need to do is simply display in the textbox, some string, then a double.
txtbox->text = "some number %d", num
that is not correct above. what is the correct way to do so..
thanks,
-
Feb 12th, 2003, 07:26 PM
#2
In managed C++ you can use System::String::Concat to concatenate strings and objects.
Code:
txtbox->Text = String::Concat(S"Some number ", num);
The problem is that Managed C++ doesn't support the CLR way of operator overloading, only the C++ way.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Feb 14th, 2003, 10:43 AM
#3
Thread Starter
Registered User
Thanks alot, that is what I needed.
Jeff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|