March 24, 2011
C/C++ : Passing Argument

I want create program with C/C++ with passing argument feature. We can input string, integer or float from this argument input. Create a file with name main.c and paste this code : /* * main.c * * Created on: Mar 24, 2011 * Author: toto */ #include <stdlib.h> #include <stdio.h> int main(int argc, char **argv)