I have read the Cprogramming.com to learn C, but I am facing a basic syntax problem.
I need to write a very simple program (mult). It need take a command line input in cmd.exe
For example: mult 2 3 abc.txt
Then the program will calculate 2*3 and then save the result in abc.txt.
I know how to do it if 2,3 and abc.txt are not input variables, but I don't know how to do it now.
I just read more from Cprogramming.com Tutorial: Command-Line Arguments
I will try it first, but I would still be very happy if someone gives me an example.