Click to See Complete Forum and Search --> : Help Me!!


Jay1987
October 22nd, 2004, 06:35 AM
I am an advanced VB programmer and I have decided to move onto bigger things so I have installed C++.NET. Already i am having some problems....can someone tell me the problem with the following code:


{int FirstNum;
int SecondNum;
FirstNum=txtFirst->Text;
SecondNum=txtSecond->Text;
}


As you can see I've written this code very similar to as I would in VB but can anyone tell me what part I've got wrong. Thx

MrViggy
October 22nd, 2004, 12:31 PM
What is 'txtFirst' and 'txtSecond'?

Viggy

Andreas Masur
October 22nd, 2004, 01:54 PM
Well...and furthermore what is the actual problem?

Andreas Masur
October 22nd, 2004, 01:55 PM
What is 'txtFirst' and 'txtSecond'?
Well...more important would be what the members 'Text' are... :cool:

MrViggy
October 22nd, 2004, 02:48 PM
Well...more important would be what the members 'Text' are... :cool:
Yes, I suppose my quesiton might be a little too vague! :cool:

Viggy