I have class goto(speed), that takes double as an argument. What i would like to do is to allow user to set the speed when running the program from command line. The start of program would look like: program_name <file_name> <speed>. So argv[3] would be my speed but the problem is that argv arguments are passed as chars and i need a double. How can i solve this problem?