int main

what does int main with an empty () mean?
It means that it takes no parameters when it is called. http://en.wikipedia.org/wiki/Entry_point
is there input in it?
What do you mean?

Do you mean can you pass arguments to the parameters list? Yes, you can int main(int argc, char **argv) then when you invoke the program just add the arguments you wish to use. http://www.cprogramming.com/tutorial/lesson14.html
oh ok thanks
Topic archived. No new replies allowed.