I need to get an argument and convert it to an int. Here is my code so far:
#include using namespace std; int main(int argc,int argvx[]) {
Take a look at strtol(), if you're using the C standard library.