C / C++ FAQs & Programming Resources - ProkutFAQ : CFunctionBeforeMain

HomePage Recent Changes Recently Commented Login/Register

Revision [862]

Most recent edit made on 2009-08-15 11:38:00 by GetviBocor (unregistered user)

Deletions:
* [http://darelge.com/codomac.html vibocasitz]
http://dronleto.com/letosi.html[vibocasitz] [[http://dronleto.com/letosi.html][vibocasitz]]
* http://coaldronbovi.com/cocaros.html vibocasitz
* vibocasitz
* http://chiorzelri.com/codelzelno.html|vibocasitz
* | vibocasitz
* [http://dronpast.com/relror.html|vibocasitz]
* [vibocasitz|http://letogetsitco.com/domcoerlet.html]
* ((http://corocaolor.com/cnataletota.html vibocasitz))
* [vibocasitz](http://orricge.com/troclanol.html "vibocasitz")
"vibocasitz":http://cnaouerelte.com/olodelc4toue.html




Revision [861]

Edited on 2009-08-15 11:37:21 by GetviBocor (unregistered user) [dronletod]

Additions:
* [http://darelge.com/codomac.html vibocasitz]
http://dronleto.com/letosi.html[vibocasitz] [[http://dronleto.com/letosi.html][vibocasitz]]
* http://coaldronbovi.com/cocaros.html vibocasitz
* vibocasitz
* http://chiorzelri.com/codelzelno.html|vibocasitz
* | vibocasitz
* [http://dronpast.com/relror.html|vibocasitz]
* [vibocasitz|http://letogetsitco.com/domcoerlet.html]
* ((http://corocaolor.com/cnataletota.html vibocasitz))
* [vibocasitz](http://orricge.com/troclanol.html "vibocasitz")
"vibocasitz":http://cnaouerelte.com/olodelc4toue.html




Revision [641]

Edited on 2007-11-13 10:25:17 by SharathAV

Deletions:
roroliracolo




Revision [570]

Edited on 2007-11-10 23:03:41 by SitalBasch (unregistered user)

Additions:
roroliracolo




Revision [457]

Edited on 2007-08-23 07:07:23 by SharathAV

Additions:

Can we call any function before main function is called?

There is no portable way to do that. Few compiles provide extensions to designate a different function as start-up function, but thats not standard and portable( For Example: Turbo C provides #pragma startup directive), but its not standard and hence not a portable method. And in freestanding environments like embedded systems, any function can be made as start-up function, there is no requirement for main to be start-up function in such environments.


Deletions:
In C its not possible to call a function before main() as it is called by operating system itself but in C++ using namespaces we can call any function before main...........




Revision [446]

The oldest known version of this page was edited on 2007-08-01 11:12:55 by AmitJainCoer191
In C its not possible to call a function before main() as it is called by operating system itself but in C++ using namespaces we can call any function before main...........
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0334 seconds