Difference between revisions of "Simple.c"

From Nutwiki
Jump to: navigation, search
m
 
m (1 revision imported)
 
(No difference)

Latest revision as of 18:03, 27 October 2016

Das "simple.c" Programm ist ein Beispiel, wie ein minimales Programm aussieht. Es besteht lediglich aus einer main()-Funktion und einer Endlosschleife.

<source lang="c">

  1. include <compiler.h>

/*!

* \brief Main application routine. 
*
*/

int main(void) {

   for (;;);

} </source> Copyright by egnite Software GmbH