C++ lühikursus 1: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 6: Line 6:
''tüüp'' ''muutuja'' [= väärtus];
''tüüp'' ''muutuja'' [= väärtus];


<code lang="cpp">
<source lang="cpp">
int i = 0;
int i = 0;
unsigned int a = 0;
unsigned int a = 0;
char u = 's';
char u = 's';
</code>
</source>


=Skoop=
=Skoop=
=Lingid=
=Lingid=
[http://www.cplusplus.com/doc/tutorial/variables/ http://www.cplusplus.com/doc/tutorial/variables/ - Kohustuslik kirjandus]
[http://www.cplusplus.com/doc/tutorial/variables/ http://www.cplusplus.com/doc/tutorial/variables/ - Kohustuslik kirjandus]

Revision as of 09:03, 4 April 2010

Eelprotsessori korraldused

Andmetüübid

Muutujad

tüüp muutuja [= väärtus];

int i = 0;
unsigned int a = 0;
char u = 's';

Skoop

Lingid

http://www.cplusplus.com/doc/tutorial/variables/ - Kohustuslik kirjandus