/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/examples/prism-c.html
22 строки
547 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
<h2>Strings</h2> <pre><code>"foo \"bar\" baz" 'foo \'bar\' baz' "Multi-line strings ending with a \ are supported too."</code></pre> <h2>Macro statements</h2> <pre><code># include <stdio.h> #define PG_locked 0 #define PG_error 1 </code></pre> <h2>Full example</h2> <pre><code>#include <stdio.h> main(int argc, char *argv[]) { int c; printf("Number of command line arguments passed: %d\n", argc); for ( c = 0 ; c < argc ; c++) printf("%d. Command line argument passed is %s\n", c+1, argv[c]); return 0; }</code></pre>