What type is textBox1 ? What is the problem you have, i.e. what is the error number and description? Does the textBox1 have a function named Text or is it a variable, if the former then you need to add parenthesis; i.e. Text() We basically need more info.
Before you go to far I would like to discourage you from proceeding on this path.
Mixing C++ and C++/CLI is not for the faint hearted. I have never seen a beginner produce anything but a mess of unstable code. C++/CLI was also not intended to be a fully fledged language for use with Winforms.
Winforms has been dropped from the Visual C++ CLR templates list in Visual Studio 2012 and on. Microsoft s advise would seem to be if you want to do Windows Desktop UI code (with the .Net framework), use C# (or VB.NET).
Having said that; converting System::String^ to std::string...
Thanks alot for decent example , finnaly got first app to work.
You are right , i generated hundreds of errors before code started to compile.
It starts to calculate if text changes
i was writing 100-200 line code to calculate row of numbers it but is it possible to calculate a string of numbers like "10+1-2*4" in single command?
visual basics made 1mb file for my short code calculator, What type of software i should use to try learn c++ , best if it has simple gui designing included that is compatable with std::string?