this:
error C2664: 'atoi' : cannot convert parameter 1 from 'System::String __gc *' to 'const char *'
Cannot convert a managed type to an unmanaged type
could it been that there is something wrong configurated?
Hi,
I tried that, but stil i've got a lot of errors.
My code used:
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e)
{
int number = atoi((LPCTSTR)textBox1->Text);
}
what i get when compile:
Compiling...
stdafx.cpp
Compiling...
Hi all,
I hope this is the right forum i post my message, else, beat me :)
Recently, i swichted from Borland C++ builder (BCB) to Visual studio.net because it has some advantage that C++ builder does'nt have. Because I'm used to program in BCB, now I can't program simple things in VC++. Things...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.