I have the line:
"System.Windows.Forms.Button, Text: 6"
and I want to pull out the 6 into a variable X to use in a like like:
textBox1->Text = Convert::ToString(X);
It was so easy in VB (-:
I have the line:
"System.Windows.Forms.Button, Text: 6"
and I want to pull out the 6 into a variable X to use in a like like:
textBox1->Text = Convert::ToString(X);
It was so easy in VB (-:
Last edited by Emerogork; 12-29-2011 at 01:12 AM. Reason: to make it more prittier.
It's simple in C++ too.
FAQ - Cprogramming.com
I linked you to the FAQ of the parent site. Are you going to make me do it for you or are you going to make an attempt to do it yourself? If you read the FAQ about converting a string to an int, you should have a good place to start. Stringstreams can parse the most complex strings if you think about what you're doing.
You want to go to a place where people will spoon feed you like a baby? Excellent! Good riddanceOriginally Posted by Emerogork
*thread closed*
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)