Difference between revisions of "C Specifics"
esse quam videri
(→Declaration) |
(→Declaration) |
||
Line 5: | Line 5: | ||
*Next, give the variable a ''unique name''. | *Next, give the variable a ''unique name''. | ||
*Finally, ''end'' your declaration. | *Finally, ''end'' your declaration. | ||
− | <div style="border:1px dashed black"> string VariableName; | + | <div style="border:1px dashed black"> |
+ | : | ||
+ | :string VariableName; | ||
+ | : | ||
+ | : | ||
</div> | </div> | ||
Revision as of 08:16, 21 August 2009
Contents
Variables
Declaration
Variable declaration in standard C requires 3 simple commands.
- First, tell the computer what type of variable you would like to store.
- Next, give the variable a unique name.
- Finally, end your declaration.
- string VariableName;