Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,268 members, 7,957,659 topics. Date: Tuesday, 24 September 2024 at 05:04 PM |
Nairaland Forum / Science/Technology / Programming / Is Main Function In C/c++ User Defined Function Or Predefined Function? (3839 Views)
[problem] Write A Program In C++ That Finds The Hcf Of 2 Numbers Without Using A Recursive Function / Simple Code Challenge: C#, Java, C, C++ / Without Using Pow Function In C (2) (3) (4)
Is Main Function In C/c++ User Defined Function Or Predefined Function? by pskchary: 6:31pm On Oct 14, 2008 |
is main function in C/C++ user defined function or predefined function?plz answer for this with explanation. |
Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by Kobojunkie: 7:20pm On Oct 14, 2008 |
pre-defined. Main is the entry point to your application that the compiler expects to see when running your application but in there you can make calls to your user defined functions. |
Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by zaibatsu(m): 12:30am On Oct 16, 2008 |
@Poster Your question is a bit vague. Kobo has already answered the better part of it. Here's what's left. Some compilers (e.g devC++) pre-declare the main function when the user creates a new C++ project. In others, the actual declaration of the main function is done by the user. The user initiated declaration is usually better tailored to the peculiarities of ones project. |
Re: Is Main Function In C/c++ User Defined Function Or Predefined Function? by pskchary: 4:56am On Oct 16, 2008 |
thank u for giving me the answer. |
(1) (Reply)
What Do You Think Of This Program I Wrote / Why Programmers Work At Night / Help finding the 15/16 complement of a hex number(C++)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |