I am trying to get numbers from the command line as arguments. Just to try it out I did something like:
int main(int argc, char* argv)
int a = (int) argv;
int b = (int) argv;
int c = a + b;
Only problem is, this didn''t work. Any suggestions how to do this? The usage is something like ''program .