Modifications

Sauter à la navigation Sauter à la recherche
175 octets ajoutés ,  8 mars 2021 à 15:45
aucun résumé de modification
Ligne 48 : Ligne 48 :  
=Actionneurs=
 
=Actionneurs=
   −
--><syntaxhighlight lang="c" line="1">
+
<syntaxhighlight lang="c">
#include <iostream>
+
long some_function();
 +
/* int */ other_function();
   −
int main()
+
/* int */ calling_function()
 
{
 
{
     std::cout << "Hello, world!\n";
+
     long test1;
 +
    register /* int */ test2;
 +
 
 +
    test1 = some_function();
 +
    if (test1 > 0)
 +
          test2 = 0;
 +
    else
 +
          test2 = other_function();
 +
    return test2;
 
}
 
}
</syntaxhighlight><!--
+
</syntaxhighlight>
38

modifications

Menu de navigation