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,
Printable View
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,
In managed C++ you can use System::String::Concat to concatenate strings and objects.
The problem is that Managed C++ doesn't support the CLR way of operator overloading, only the C++ way.Code:txtbox->Text = String::Concat(S"Some number ", num);
Thanks alot, that is what I needed.
Jeff