2013年9月14日土曜日

開発環境

C実践プログラミング 第3版 (Steve Oualline (著)、 望月 康司 (監訳) (翻訳)、谷口 功 (翻訳)、オライリー・ジャパン)の2章(プログラム記述の基本)、2.7(プログラミング実習)、実習2-1を解いてみる。

その他参考書籍

実習 2-1.

コード

sample.c

#include <stdio.h>

int main()
{
    printf("Hello World\n");
    return (0);
}

入出力結果(Terminal)

$ cc -g -o hello sample.c
$ ./hello
Hello World
$

0 コメント:

コメントを投稿