: Home / inne tematy

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38

Warning: file_get_contents(http://graph.facebook.com/http://youthcoders.net/inne-tematy.html): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /var/www/old-yc/plugins/content/addthis.php on line 38
Stałe Znakowe
Wpisany przez Olek   
niedziela, 25 kwietnia 2010 19:12

Stałe znakowe przedstawiają np. znaki Alfanumeryczne. Aby zapisać stałą znakową trzeba między 2 Apostrofy wpisać Dany Znak.

Przykłady:

  • '6' - oznacza cyfrę 6.
  • 'x' - oznacza literę x.
  • 'y' - oznacza literę y.

Znaki zapisane w powyższy sposób są Typu char,  więc można je przypisać do obiektów typu char.

Przykład:

char xyz;

xyz='P';

 

Kompilator nie przechowuje liter w swojej pamięci(Może liczby), wszystkie litery są ponumerowane, więc numer jest przechowywany.

 

Do umieszczenia tzw. Znaków Specjalnych, musimy użyć backslash: \ .

Przykład:

'\"' - Cudzysłów

 

Aleksander Dombrowski

 
<< Początek < Poprzednia 1 2 3 4 5 6 7 8 9 10 Następna > Ostatnie >>

Strona 6 z 10

Najnowsze w innych tematach


Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_latestnews/helper.php on line 109

Najpopularniejsze w innych tematach


Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /var/www/old-yc/modules/mod_mostread/helper.php on line 79