Entry point

from Wikipedia, the free encyclopedia

The entry point ( english point entry ) - or even the main function (English often main called) and further lehnübersetzt also main function - referred to in the programming that point in a program or function to which the control flow , d. H. execution begins.

more details

Each program generally has only one entry point. For example, this is for programs in the C programming language , C ++ or Java are written, the function main(…). Program libraries have an entry point for each public function.

From a technical point of view, it is the memory address to which the command counter is set when a program is started or when a function is called.

Information about entry points is usually stored in the program or library file in the file header . The storage depends on the operating system used.

Single receipts

  1. 1.1.14 The main function. (No longer available online.) In: Section on Introduction to C , at Schmalkalden University . Archived from the original on October 21, 2017 ; accessed on August 13, 2018 . Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. @1@ 2Template: Webachiv / IABot / apps.e-technik.fh-schmalkalden.de
  2. The C Tutorial […]: Functions Part 2: Main Function - C-HowTo ; accessed on September 11, 2017.