i want to convert two variables which are in type of char* to int in cpp
char* lower = "552"
char* higher = "882"
these two variables are number but in type of char* like "552" and i want to convert them to int like:
int e = 552 //which 552 is converted from char*
is CPP has a function to do this for me?