Shakje
If you create a C++ .NET project you will get all the functionality of .NET that you are used to in C# (although there are a couple of differences and some syntax differences in the way you call things and create things). If you don't compile it as a .NET project you won't be able to access .NET classes or namespaces and so won't be able to do the above that way.
If you want to use a non-.NET project, you can use the ato functions (replacing the with the appropriate letter, eg. atoi). Unfortunately these functions do not throw exceptions, but return the rather ambiguous 0 if they fail, or various defines if they are out of range. If you know the value will not hit 0 you could do the following:
Code Snippet
char szInput[] = "1234";
int a = atoi(szInput);
if(a == 0)
printf("Could not convert string, not a valid number.");
if(a == INT_MAX || a == INT_MIN)
printf("Number out of integer range");
It all depends on how you want to do things, another example would be using atof for getting floats from strings, it's used in pretty much the same way.
Sorry for the printfs, I'm working on C at the moment.
Also, C# is based on C++, and both have had access to .NET for the same period of time. Asking if C++ is using C# code just sounds wrong.
While it sounds pretty certain that you are using a native C++ project, if you're not have you made sure you're using the System namespace