English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i found out that it is some code which is added to beginning of the program which i wrote before compiling . but i need more to be able to present it to the coworkers. can you advise me any book or any website? ofcourse i would appriciate to learn your knowledge if you share.

2006-08-29 21:59:43 · 2 answers · asked by niga 1 in Computers & Internet Programming & Design

2 answers

startup code is code that is executed at the beginning of an application. what it does is sets up registers, initializes other devices, sets defaults to variables, sets up interrupts if needed, or loads saved info about setup from a file (.ini) etc...

Startup code is mostly used in embedded applications where there are peripherals that need initialized, and the micro starts up from scratch (just reset defaults). Most all non embedded apps have some sort of startup code also, but mostly for setting defaults for variables or loading info from a file.

2006-08-30 02:10:46 · answer #1 · answered by justme 7 · 0 0

Depends on the compiler you're using. Check the compiler documentation or look on the web for that version. There should be something in there about startup code for the program.

My personal guess is it is adding the windows calls for the program.

2006-08-29 22:08:13 · answer #2 · answered by David W 4 · 0 0

fedest.com, questions and answers