# gcc -o userinfo userinfo.c
# ./userinfo
Name : Yoo
Age : 18
Name : Kim
Age : 19
Name : Park
Age : 20
Name : Yuri
Age : 28
Name : Poorman
Age : 28
/*** Friend List ***/
Yoo             : 18
Kim             : 19
Park            : 20
Yuri             : 28
Poorman      : 28
#


'Programming > Linux Coding' 카테고리의 다른 글

Ex07. simplecalc.c - libmycalc.a (static library)  (0) 2016.02.22
Ex06. simplecalc.c  (0) 2016.02.22
Ex04. array_char.c  (0) 2016.02.22
Ex03. hello_pat.c  (0) 2016.02.22
Ex02. Sum.c  (0) 2016.02.22

# gcc -o array_char array_char.c
# ./array_char
hello world
#


'Programming > Linux Coding' 카테고리의 다른 글

Ex06. simplecalc.c  (0) 2016.02.22
Ex05. userinfo.c  (0) 2016.02.22
Ex03. hello_pat.c  (0) 2016.02.22
Ex02. Sum.c  (0) 2016.02.22
Ex01. Hello.c  (0) 2016.02.22

# gcc -o hello_pat ./hello_pat.c
# hello_pat dog cat
number of animal : 2

Hello dog
Hello cat
#


'Programming > Linux Coding' 카테고리의 다른 글

Ex06. simplecalc.c  (0) 2016.02.22
Ex05. userinfo.c  (0) 2016.02.22
Ex04. array_char.c  (0) 2016.02.22
Ex02. Sum.c  (0) 2016.02.22
Ex01. Hello.c  (0) 2016.02.22

# gcc -o sum sum.c
# ./sum
# echo $?
9
#


'Programming > Linux Coding' 카테고리의 다른 글

Ex06. simplecalc.c  (0) 2016.02.22
Ex05. userinfo.c  (0) 2016.02.22
Ex04. array_char.c  (0) 2016.02.22
Ex03. hello_pat.c  (0) 2016.02.22
Ex01. Hello.c  (0) 2016.02.22
# gcc -o hello hello.c

# ./hello

Hello World

#

<div><br /></div><div><pre class="wiki" style="box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; padding: 6px 0px 0px 6px; white-space: pre-wrap; font-family: 'Nanum Gothic Coding'; font-size: 13px; border-width: 1px 1px 1px 2px; border-style: solid; border-color: rgb(221, 221, 221) rgb(221, 221, 221) rgb(221, 221, 221) rgb(0, 0, 0); line-height: 19.5px; background-color: rgb(241, 241, 241);">

# gcc -o hello hello.c

# ./hello

Hello World

#

</pre></div><p><br /></p>

'TISTORY > HTML' 카테고리의 다른 글

프로그래밍 코드  (1) 2016.02.22

*Syntax Highlighter 설치 필요

<textarea name="code" class="brush:cpp;">

#include <stdio.h>


int main (int argc, char **argv)

{

    printf("Hello World \n");

    return 0;

}

</textarea>

Brush nameBrush aliasesFile name
ActionScript3as3, actionscript3shBrushAS3.js
Bash/shellbash, shellshBrushBash.js
ColdFusioncf, coldfusionshBrushColdFusion.js
C#c-sharp, csharpshBrushCSharp.js
C++cpp, cshBrushCpp.js
CSScssshBrushCss.js
Delphidelphi, pas, pascalshBrushDelphi.js
Diffdiff, patchshBrushDiff.js
Erlangerl, erlangshBrushErlang.js
GroovygroovyshBrushGroovy.js
JavaScriptjs, jscript, javascriptshBrushJScript.js
JavajavashBrushJava.js
JavaFXjfx, javafxshBrushJavaFX.js
Perlperl, plshBrushPerl.js
PHPphpshBrushPhp.js
Plain Textplain, textshBrushPlain.js
PowerShellps, powershellshBrushPowerShell.js
Pythonpy, pythonshBrushPython.js
Rubyrails, ror, rubyshBrushRuby.js
ScalascalashBrushScala.js
SQLsqlshBrushSql.js
Visual Basicvb, vbnetshBrushVb.js
XMLxml, xhtml, xslt, html, xhtmlshBrushXml.js

출처 : http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/

설치 방법 : http://jb-story.tistory.com/13

'TISTORY > HTML' 카테고리의 다른 글

Shell 명령  (0) 2016.02.22

# gcc -o hello hello.c
# ./hello
Hello World
#



'Programming > Linux Coding' 카테고리의 다른 글

Ex06. simplecalc.c  (0) 2016.02.22
Ex05. userinfo.c  (0) 2016.02.22
Ex04. array_char.c  (0) 2016.02.22
Ex03. hello_pat.c  (0) 2016.02.22
Ex02. Sum.c  (0) 2016.02.22

+ Recent posts