string to int

G

Guest

hi every1

i'm facing difficulties in converting numeric string to integer
it was quite easy in vc 6, we could simply use toint() method.

int vc .Net its complicated
i searched msdn and found this

TypeDescriptor::GetConverter(__box (Num))->ConvertFromString(strNum);

where Num is int and strNum is string.

it should have been simpler.

please... help me
thanx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top