Hello everybody,

I started c++ half a year ago, with the .cpp programs. Now i want to create a program with the Windows Application forms.

But how can i multiply with textboxes?
I want something like:
textBox1->text = (textBox2->text * 3)

But this code gives an error, i need something to include to it, or i'm doing something wrong.

Could you say me what i'm doing wrong?

Thanks in advance

Read the string from the text box,
Validate it,
Convert to an integer,
Do some calculation,
and so on......

So i need:
textBox1->text->toString

Then
Validate textBox1->text

And then?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.