|
-
Sep 24th, 2001, 10:51 PM
#2
Fanatic Member
if you know about functions, you will know that main is just another function... so:
void main(void) - is a function that returns nothing and takes in nothing.
int main(void) - is a function that returns an int and takes in nothing.
int main(char*,int) - is a function that returns an int and takes in a pointer to a char and an int
getch() - is only borland specific.
all it does is wait for a user to press <enter>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|