cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
int main
int main
Sep 15, 2014 at 11:35pm UTC
LATCH100
(81)
what does int main with an empty () mean?
Sep 15, 2014 at 11:38pm UTC
giblit
(3750)
It means that it takes no parameters when it is called.
http://en.wikipedia.org/wiki/Entry_point
Sep 15, 2014 at 11:40pm UTC
LATCH100
(81)
is there input in it?
Sep 15, 2014 at 11:50pm UTC
giblit
(3750)
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
Sep 15, 2014 at 11:51pm UTC
LATCH100
(81)
oh ok thanks
Topic archived. No new replies allowed.