mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Rephrase variable declaration comments
This commit is contained in:
parent
bdeb28ebbc
commit
bf1fe71a83
@ -89,10 +89,12 @@ int main (int argc, char** argv)
|
|||||||
// Types
|
// Types
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
|
|
||||||
// All variables MUST be declared at the top of the current block scope
|
// Compilers that are not C99-compliant requires that variables MUST be
|
||||||
// we declare them dynamically along the code for the sake of the tutorial
|
// declared at the top of the current block scope.
|
||||||
// (however, C99-compliant compilers allow declarations near the point where
|
// Compilers that ARE C99-compliant allow declarations near the point where
|
||||||
// the value is used)
|
// the value is used.
|
||||||
|
// For the sake of the tutorial, variables are declared dynamically under
|
||||||
|
// C99-compliant standards.
|
||||||
|
|
||||||
// ints are usually 4 bytes
|
// ints are usually 4 bytes
|
||||||
int x_int = 0;
|
int x_int = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user