command line argument char to int code example Example: argument to number C++ // C++ Code int x = atoi(argv[1]);