解きながら学ぶC言語

Size: px
Start display at page:

Download "解きながら学ぶC言語"

Transcription

1

2 printf printf("%d\n", ); 5370 source program source file.c ex00.c 0 comment

3 %d d 0 decimal -2 -p printf("537%d\n", 5-37); function function call ( )argument, printf printf printf format printf format string %d 0 conversion specification printf("%d\n", ); 52 printf("537%d\n", 5-37 ); \n printf - -2 p.38 32

4 ex00 JIS \ 4-3 printf -2p.9 printf("\n\n\n\n"); ex00 \n - -2 printf \nnew line \ \nescape sequence - printf printf("%d", ); \n 52 52MS-DOS A> UNIX % printf("\n\n\n\n");

5 -4 5-3p.9-4 printf printf("\n\n\n\n"); \n printf("\n\n \n\n"); printf printf printf("\n"); printf("\n\n"); printf("\n"); printf("\n\n"); printf("\n\n"); printf statement

6 6-5!!!!!!!!!!!! printf("!!\a!!\a\n"); \a alert \a 8 p.89 "ABC"""" string literal #include6 main6 3 return6

7 -5 7! - + * / \ %., : ; ' " ( ) [ ] < > & ~? ^ # _ = JIS JIS -

8 no int integer 4 p int no75 int no; noint no = 75; no75 printf("no%d\n", no); no constant int no; declaration int int no ; no noint no x = no no = 75 no

9 printf & & 0 p.222scanf ' Print Screen Scroll Lock Pause Up Delete End Page Down Num Lock Num Lock Caps Lock Home PgUp End PgDn Ins Del Scroll Lock Enter int no32 no32 int no; no 32 no32 printf("no"); scanf("%d", &no); printf("no%d\n", no); no scanf printf scanf scanf %d printf 0 0 no p printf("%d", no); 0 Esc F F2 F3 F4 F5 F6 F7 F8 F9 F0 F F2 no 0 ~ ` Tab Caps Lock # $ % Z X C V B 5 ^ 6 & 7 * 8 ( ) 9 0 Q W E R T Y U I O P A S D F G H J K L N M <, >.? / : ; + = [ ] Ctrl Alt Alt Ctrl " Backspace Insert Home Page Shift \ Enter / * + scanf("%d", &no);

10 0-4p int no; printf(""); scanf("%d", &no); printf("0%d\n", no + 0); Column 972 Dennis M. Ritchie Ken ThompsonUNIX OS UNIX UNIX UNIX UNIX Ritchie Brian W. Kernighan The C Programming Language, Prentice-Hall, 978 K&R K&RReference Manual

11 int no; p.3 printf(""); scanf("%d", &no); printf("0%d\n", no - 0); + - no no 0 - no Column K&R ISOInternational Organization for StandardizationANSI American National Standards Institute ANSI X American National Standard for Information Systems - Programming Language-C INTERNATIONAL STANDARD ISO/IEC 9889 : 990(E) Programming Languages-C JIS X

12 2-6p.5-0 printf puts puts puts("\n\n\n"); puts putssstringputs puts("")printf("\n") printf("abc\n"); puts("abc"); printf puts puts puts puts("\n"); puts("\n"); puts(""); puts(""); puts(""); puts("");

13 - 3 - int n, n2; int seki; p.5 puts(""); printf(""); scanf("%d", &n); printf(""); scanf("%d", &n2); seki = n * n2; nn2seki printf("%d\n", seki); *seki printf printf("%d\n", n * n2); seki n n2, n n2 int n; int n2; p.84 85

14 4-8p int n, n2, n3; 45 puts(""); printf(""); scanf("%d", &n); printf(""); scanf("%d", &n2); printf(""); scanf("%d", &n3); printf("%d\n", n + n2 + n3);

15 5 () 0(2)(3) (4)(5)(6)(4) (7) (7) (a)(b) (8) (8) (8) (9) (8) printf puts printf (9) (0) (9) () 0 ()% (2) puts (3) (3) (a)(b) \n (4)\a (5) "ABC""Hello!!"(6) ax (7)ax; + - (8)

16 6 printf("(9)"); printf(" (20) "); printf(" (20) "); printf(" (20) "); printf("(2)"); printf("(22)"); 3 puts("(23)"); puts("(24)"); puts("(25)"); puts("(26)");

17 int (27); printf(""); scanf("(28)", (29) no); printf("5(30)\n", 5 (3) no); int (32); printf(""); printf(""); scanf(" (28) ", (29) c); printf(""); scanf(" (28) ", (29) c2); printf(""); scanf(" (28) ", (29) c3); printf("(33)\n", (34));

リファレンス

リファレンス ii iii iv v vi NEC Corporation 1998 vii C O N T E N T S PART 1 PART 2 viii ix C O N T E N T S PART 3 PART 4 x xi C O N T E N T S PART 5 xii xiii xiv P A R T 1 2 1 3 4 5 1 6 7 1 8 1 9 10 11 1 12 13 1 14

More information

インターネット入門

インターネット入門 PART 7 PART 8 ii PART 1 PART 2 PART 3 PART 4 PART 7 PART 4 PART 5 PART 6 iii iv v vi NEC Corporation 1998 vii C O N T E N T S PART 1 PART 2 viii PART 3 ix C O N T E N T S PART 4 PART 5 x PART 6 xi C O

More information

PC STATION S200L seriesファーストステップガイド

PC STATION S200L seriesファーストステップガイド 1 2 3 WindowsMe 2 1 2 3 4 5 3 1 2 3 7 3 4 2 1 6 5 6 4 5 6 7 7 Esc Caps Lock Ctrl F1 Alt F2 F3 F4 F5 F6 F7 F8 Alt F9 F10 F11 Ctrl F12 Back Space Print Scrn SysRq Insert Delete Scroll Lock Home End Pause

More information

リファレンス

リファレンス ii iii iv v vi NEC Corporation 1998 vii C O N T E N T S PART 1 viii ix C O N T E N T S x PART 2 xi C O N T E N T S PART 3 PART 4 xii PART 5 xiii C O N T E N T S xiv PART 6 xv xvi 2 3 4 5 6 7 P A R T

More information

オンラインマニュアル

オンラインマニュアル 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 ENTER ENTER 20 F12 ENTER ENTER 21 FN F8 FN F8 22 FN F3 23 FN F4 24 25 26 27 28 FN F9 FN F9 FN F9 FN F9 FN F9 29 30 31 SHIFT SHIFT FN 32 33 FN FN ESC FN SPACE

More information

dynabookガイド

dynabookガイド 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 SHIFT SHIFT 44 SHIFT SHIFT 45 46 47 48 49 50 51 52 53 D Y N A B O O K 54 BACKSPACE

More information

C言語によるアルゴリズムとデータ構造

C言語によるアルゴリズムとデータ構造 Algorithms and Data Structures in C 4 algorithm List - /* */ #include List - int main(void) { int a, b, c; int max; /* */ Ÿ 3Ÿ 2Ÿ 3 printf(""); printf(""); printf(""); scanf("%d", &a); scanf("%d",

More information

dynabookガイド

dynabookガイド 1 2 3 4 5 6 7 8 9 10 11 14 15 16 17 18 19 20 21 22 23 SHIFT SHIFT 24 25 SHIFT SHIFT 26 27 28 29 D Y N A B O O K BACKSPACE DEL 30 31 32 33 34 35 36 37 ENTER SHIFT SHIFT 38 39 40 41 FN F8 FN F8 42 43 ENTER

More information

新版明解C言語入門編

新版明解C言語入門編 175cm 60kg ( ) 175cm 175.3cm 175.869758 cm 175cm 60kg p.177 18-1 vx - vy vx vy List -1 List -1 int vx, vy; puts(""); printf(" vx "); scanf("%d", &vx); printf(" vy "); scanf("%d", &vy); printf("vx + vy

More information

P02.ppt

P02.ppt int If 2 1 ,,, 3 a + b ab a - b ab a * b ab a / b ab a % b ab a + b 4 2 list0201.c /, % /*/ int vx, vy; puts(""); printf("vx"); scanf("%d", &vx); printf("vy"); scanf("%d", &vy); printf("vx + vy = %d\n",

More information

LVP-WD390EST

LVP-WD390EST LVP-WD390EST AUDIO AUDIO IN-3L S-VIDEO IN-1 AUDIO OUT AUDIO IN-2 AUDIO IN-3R VIDEO SERIAL COMPUTER / COMPONENT VIDEO IN-1 MONITOR OUT IN-2 USB-B USB-A LAN AC IN AUDIO OUT AUDIO IN-1 AUDIO IN-2 AUDIO

More information

橡マニュアル1999.PDF

橡マニュアル1999.PDF 11 11 7 28 7 30 9 30 16 30 2-302 1. (hardware) Microsoft Excel Microsoft Word Windows95/98 OS Windows95/98 MS-DOS 2. 3. 1 1 2 4. Enter CTRL ALT ALT SHIFT ESC BS DEL INS TAB CAPS 5. 1 ID ID 2 ID 3-1 - 6.Windows95/98

More information

dynabookガイド

dynabookガイド 1 2 3 4 5 6 7 8 9 10 11 12 14 15 16 17 18 19 20 21 22 23 24 25 26 SHIFT SHIFT 27 28 SHIFT SHIFT 29 30 31 32 D Y N A B O O K BACKSPACE DEL 33 34 35 36 37 38 39 40 ENTER SHIFT SHIFT 41 42 43 44 FN F8 FN

More information

tuat1.dvi

tuat1.dvi ( 1 ) http://ist.ksc.kwansei.ac.jp/ tutimura/ 2012 6 23 ( 1 ) 1 / 58 C ( 1 ) 2 / 58 2008 9 2002 2005 T E X ptetex3, ptexlive pt E X UTF-8 xdvi-jp 3 ( 1 ) 3 / 58 ( 1 ) 4 / 58 C,... ( 1 ) 5 / 58 6/23( )

More information

PRIMERGY システム構成図 (2009年1月版) 樹系図 (ラックマウント編)

PRIMERGY システム構成図 (2009年1月版) 樹系図  (ラックマウント編) PRIMERGY 2009 年 2 月 13 日版 215 216 T 本製品には転倒防止用のスタビライザが添付されておりません 必ずレベルフットあるいは耐震キット (19R-17ST1) を用いた固定設置工事を行い 転倒防止措置を施してください 本製品には転倒防止用のスタビライザが添付されておりません 必ずレベルフットあるいは耐震キット (19R-17ST2) を用いた固定設置工事を行い 転倒防止措置を施してください

More information

新・明解C言語で学ぶアルゴリズムとデータ構造

新・明解C言語で学ぶアルゴリズムとデータ構造 第 1 章 基本的 1 n 141 1-1 三値 最大値 algorithm List 1-1 a, b, c max /* */ #include int main(void) { int a, b, c; int max; /* */ List 1-1 printf("\n"); printf("a"); scanf("%d", &a); printf("b"); scanf("%d",

More information

main

main 14 1. 12 5 main 1.23 3 1.230000 3 1.860867 1 2. 1988 1925 1911 1867 void JPcalendar(int x) 1987 1 64 1 1 1 while(1) Ctrl C void JPcalendar(int x){ if (x > 1988) printf(" %d %d \n", x, x-1988); else if(x

More information

2008 IIA (program) pro(before)+gram(write) (artificial language) (programming languege) (programming) (machine language) (assembly language) ( )

2008 IIA (program) pro(before)+gram(write) (artificial language) (programming languege) (programming) (machine language) (assembly language) ( ) 2008 IIA 1 1.1 (program) pro(before)+gram(write) (artificial language) (programming languege) (programming) (machine language) (assembly language) () (high-level language) 3 (machine language) (CPU) 0

More information

Vista編第2刷BB版.indd

Vista編第2刷BB版.indd ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Ins Del PrtRc SysRc 半 角 / 全 角 漢 字 Tab Enter CapsLock 英 数 Shift Shift Fn Ctrl Alt 無 変 換 変 換 カタカナ Alt Ctrl ひらがな Pause Num Break Lock Back Space Home End PgUp PgDn

More information

新・明解Java入門

新・明解Java入門 第 1 章 画面 文字 表示 Java Java Java Java Java JRE Java JDK 21 1-1 Java Java Java Java 誕生 Fig.1-1 Oak Java Sun Microsystems 2010 Oracle Java Oracle 4 Java http://www.java.com/ http://www.alice.org/ Fig.1-1Java

More information

活用編

活用編 1 2 3 FN F6 FN F6 FN F7 FN F7 6 7 8 9 10 11 12 13 FN F5 FN F5 FN F5 FN ENTER 14 15 FN 3 FN 4 FN 3 FN 4 FN 3 FN 4 16 17 18 19 FN 3 FN 4 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41

More information

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL   2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b II 5 (1 2005 5 26 http://www.math.meiji.ac.jp/~mk/syori2-2005/ UNIX (Linux Linux 1 : 2005 http://www.math.meiji.ac.jp/~mk/syori2-2005/jouhousyori2-2005-00/node2. html ( (Linux 1 2 ( ( http://www.meiji.ac.jp/mind/tool/internet-license/

More information

MYWORDⅤ Pro 操作マニュアル

MYWORDⅤ Pro 操作マニュアル This software is a human word proccessor for the blind,the lowvision and general people. new AOK system MYWORD MYWORD Windows XP Windows DOS/V NEC PC-9821 DOS/V NEC PC-9821 DOS/V Esc ESC Tab TAB Ctrl CTRL

More information

3 4 6 10 11 14 16 19

3 4 6 10 11 14 16 19 PowerPoint2007 3 4 6 10 11 14 16 19 PowerPoint PowerPoint PowerPoint 1 PowerPoint 1 1 2 3 4 5 2 [ ] 3 4 8 1 2 3 5 2 6 1 7 8 Office PowerPoint 2007 9 10 2 3 11 6 12 Ctrl 2 Shift 2 5 2 Shift 5 2 Delete 13

More information

P05.ppt

P05.ppt 2 1 list0415.c forfor #include int i, j; for (i = 1; i

More information

明解Java入門編

明解Java入門編 1 Fig.1-1 4 Fig.1-1 1-1 1 Table 1-1 Ease of Development 1-1 Table 1-1 Java Development Kit 1 Java List 1-1 List 1-1 Chap01/Hello.java // class Hello { Java System.out.println("Java"); System.out.println("");

More information

C C UNIX C ( ) 4 1 HTML 1

C C UNIX C ( ) 4 1 HTML 1 C 2007 4 18 C UNIX 1 2 1 1.1 C ( ) 4 1 HTML 1 はじめ mkdir work 作業用ディレクトリーの作成 emacs hoge.c& エディターによりソースプログラム作成 gcc -o fuga hoge.c コンパイルにより機械語に変換 コンパイルエラー./fuga 実行 実行時エラー 完成 1: work hooge.c fuga 1 4 4 1 1.

More information

I ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2 " 2 B R b

I ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2  2 B R b I 4 003 4 30 1 ASCII ( ) 0 17 0 NUL 16 DLE SP 0 @ P 3 48 64 80 96 11 p 1 SOH 17 DC1! 1 A Q a 33 49 65 81 97 113 q STX 18 DC " B R b 34 50 66 8 98 114 r 3 ETX 19 DC3 # 3 C S c 35 51 67 83 99 115 s 4 EOT

More information

2

2 2 3 Page 4 5 6 A-1B-1 C0 D0 E0 F0 G0 A0 B0 C1 D1 E1 F1 G1 A1 B1 C2 D2 E2 F2 G2 A2 B2 C3 D3 E3 7 F3 G3 A3 B3 C4 D4 E4 F4 G4 A4 B4 C5 D5 E5 F5 G5 A5 B5 C6 D6 E6 F6 G6 A6 B6 C7 8 Page 9 1 2 3 1 2 10 1 11

More information

/* sansu1.c */ #include <stdio.h> main() { int a, b, c; /* a, b, c */ a = 200; b = 1300; /* a 200 */ /* b 200 */ c = a + b; /* a b c */ }

/* sansu1.c */ #include <stdio.h> main() { int a, b, c; /* a, b, c */ a = 200; b = 1300; /* a 200 */ /* b 200 */ c = a + b; /* a b c */ } C 2: A Pedestrian Approach to the C Programming Language 2 2-1 2.1........................... 2-1 2.1.1.............................. 2-1 2.1.2......... 2-4 2.1.3..................................... 2-6

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

新版明解C言語 実践編

新版明解C言語 実践編 2 List - "max.h" a, b max List - max "max.h" #define max(a, b) ((a) > (b)? (a) : (b)) max List -2 List -2 max #include "max.h" int x, y; printf("x"); printf("y"); scanf("%d", &x); scanf("%d", &y); printf("max(x,

More information

Chapter 1 Chapter 2 Chapter 3

Chapter 1 Chapter 2 Chapter 3 Designed and Created in Tokyo. AFFINITY E101 C2015 Abee Corporation. All rights reserved. DATA-0003 Chapter 1 Chapter 2 Chapter 3 Chapter 5 Chapter 6 Chapter 4 Chapter 7 Chapter1 1-1 Chapter 1 1-2 Chapter

More information

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D II 8 2003 11 12 1 6 ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 Daisuke 8 =>. 73 Daisuke 35 Hiroshi 64 Ichiro 87 Junko

More information

Microsoft Office PowerPoint 2007 セミナーテキスト基礎編 講習の手引き Microsoft Office PowerPoint 2007 Office Professional 2007 PowerPoint 2007 PowerPoint 2007 PowerPoi

Microsoft Office PowerPoint 2007 セミナーテキスト基礎編 講習の手引き Microsoft Office PowerPoint 2007 Office Professional 2007 PowerPoint 2007 PowerPoint 2007 PowerPoi Microsoft Office PowerPoint 2007 セミナーテキスト基礎編 講習の手引き Microsoft Office PowerPoint 2007 Office Professional 2007 PowerPoint 2007 PowerPoint 2007 PowerPoint 2007 PowerPoint PowerPoint 2003 PowerPoint 2007

More information

文字コードとその実装

文字コードとその実装 1 2001 11 3 1 2 2 2 2.1 ISO/IEC 646 IRV US-ASCII................................. 2 2.2 ISO/IEC 8859 JIS X 0201..................................... 4 2.3 ISO/IEC 2022............................... 6

More information

たのしもう!インターネット

たのしもう!インターネット (2) (3) (4) NEC Corporation 1999 (5) C O N T E N T S PART 1 PART 2 PART 3 (6) PART 4 (7) (8) (9) (10) (11) 人づきあい第一の 社交型 巻 頭 特 集 インターネットのことをいろんな人に聞くうち に いくつかのタイプがあることに気がついた メールやチャットから友達作りやその連絡用に インターネットを使う人

More information

C

C (1) (2) Play Volume (3) (4) (5) (6) (7) (8) Ctrl N Ctrl Ctrl (9) (10) OFF (11) (12) OFF (13) (14) 2 3 4 5 6 7 LCD LCD 8 TV ANT. S IN VIDEO IN LINE-L IN LINE-R IN 9 10 11 12 LCD LCD 13 LCD 14 LCD 15 LCD

More information

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~ alse

¥×¥í¥°¥é¥ß¥ó¥°±é½¬I  Exercise on Programming I [1zh] ` `%%%`#`&12_`__~~~alse I Exercise on Programming I http://bit.ly/oitprog1 1, 2 of 14 ( RD S ) I 1, 2 of 14 1 / 44 Ruby Ruby ( RD S ) I 1, 2 of 14 2 / 44 7 5 9 2 9 3 3 2 6 5 1 3 2 5 6 4 7 8 4 5 2 7 9 6 4 7 1 3 ( RD S ) I 1, 2

More information

C¥×¥í¥°¥é¥ß¥ó¥° ÆþÌç

C¥×¥í¥°¥é¥ß¥ó¥° ÆþÌç C (3) if else switch AND && OR (NOT)! 1 BMI BMI BMI = 10 4 [kg]) ( [cm]) 2 bmi1.c Input your height[cm]: 173.2 Enter Input your weight[kg]: 60.3 Enter Your BMI is 20.1. 10 4 = 10000.0 1 BMI BMI BMI = 10

More information

PowerPoint Presentation

PowerPoint Presentation p.130 p.198 p.208 2 double weight[num]; double min, max; min = max = weight[0]; for( i= 1; i i < NUM; i++ ) ) if if ( weight[i] > max ) max = weight[i]: if if ( weight[i] < min ) min = weight[i]: weight

More information

P06.ppt

P06.ppt p.130 p.198 p.208 2 1 double weight[num]; double min, max; min = max = weight[0]; for( i= 1; i < NUM; i++ ) if ( weight[i] > max ) max = weight[i]: if ( weight[i] < min ) min = weight[i]: weight 3 maxof(a,

More information

PERSONAL COMPUTER

PERSONAL COMPUTER F6 F7 F8 F9 F10 F11 F12 Pause え 6 お 7 や 8 ゆ 9 よ 0 わ ほ へ ー T Y U I O P { かんなにらせ @ [ G H J K L きくまのり れ け ] む _ B N M こみもねるめ \ ろ 変換,. / Ctrl ` Break Insert PrtScr PgUp Shift Home PgDn End Delete SysRq Back

More information

-2- Teen's

-2- Teen's -1-1. 1-1. 1-2. -2- Teen's 1-3. A B / ATOK.2007 Shift CapsLock / ATOK.2007 ATOK A. B.ATOK / / -3- -4- Home Home Ctrl Tab Ctrl Tab Home -5- F4 ATOK -6- 2. SE -7- 2-1. SE SE SE OK -8- 2-2. OK -9- -10- Ctrl.

More information

橡J_ptvr_common.PDF

橡J_ptvr_common.PDF PARTNER VR/MIPS Copyright (C) 1999 / ( ) PARTNER http://www.midas.co.jp/products/download/program/partner.htm PARTNER( ) PARTNER 1 MS-Windows Windows MS MS-DOS CPU Y / M / D Rev 1998.07.15 1.00 1999.05.14

More information

kiso2-03.key

kiso2-03.key 座席指定はありません Linux を起動して下さい 第3回 計算機基礎実習II 2018 のウェブページか ら 以下の課題に自力で取り組んで下さい 計算機基礎実習II 第2回の復習課題(rev02) 第3回の基本課題(base03) 第2回課題の回答例 ex02-2.c include int main { int l int v, s; /* 一辺の長さ */ /* 体積 v

More information

プログラミング基礎

プログラミング基礎 C プログラミング Ⅰ 授業ガイダンス C 言語の概要プログラム作成 実行方法 授業内容について 授業目的 C 言語によるプログラミングの基礎を学ぶこと 学習内容 C 言語の基礎的な文法 入出力, 変数, 演算, 条件分岐, 繰り返し, 配列,( 関数 ) C 言語による簡単な計算処理プログラムの開発 到達目標 C 言語の基礎的な文法を理解する 簡単な計算処理プログラムを作成できるようにする 授業ガイダンス

More information

Vol.55 No (Jan. 2014) De-gapper 1,a) 2, , De-gapper De-gapper De-gapper Tool for Support Programming Learners Step-b

Vol.55 No (Jan. 2014) De-gapper 1,a) 2, , De-gapper De-gapper De-gapper Tool for Support Programming Learners Step-b De-gapper 1,a) 2,3 4 3 2013 3 18, 2013 10 9 1 De-gapper De-gapper De-gapper Tool for Support Programming Learners Step-by-step Learning Shinya Cho 1,a) Yayoi Hofuku 2,3 Tomohiro Nishida 4 Susumu Kanemune

More information

新版 明解C++入門編

新版 明解C++入門編 第 1 章画面 出力 入力 C++ C++ C++ C++ C++ C++ C++ C++ #include using C++ C++ C++ main C++ C++ C++ int double char C++ C++ C++ string C++ C++ C++ 21 1-1 C++ 歴史 C++ C++ 歴史 CC with classes Fig.1-1 C C++ Simula 67

More information

Barcode Setup Manual

Barcode Setup Manual PS800ZR Version : 1.2 2018/07/23 1 目次 セットアップフローチャート... 3 Part I システム情報... 4 1.1 ファームウェアバージョン... 4 Part II キーボード設定... 5 2.1 言語選択... 5 2.2 文字間ディレイ時間... 5 2.3 データ転送前ディレイ時間... 6 2.4 付加文字... 6 Part III システム設定...

More information

D MO CD-R/CD-RW DVD-R/RW Mac DVD+R/RW Win USB PC PC 2 Premiere Pro2.0

D MO CD-R/CD-RW DVD-R/RW Mac DVD+R/RW Win USB PC PC 2 Premiere Pro2.0 Adobe Premiere Pro 2.0 Adobe Premiere Pro 2.0 P.02 P.02 P.03 Win P.03 P.04 DV P.04 Premiere P.05 Premiere P.05 P.06 P.07 Premiere P.08 P.08 P.09 P.09 P.09 Premiere P.10 Premiere P.11 Premiere P.12 Premiere

More information

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License LAN 2014 3 19 Copyright c 1993 2014 Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License. 1 2 1.1................................... 2 1.2.........................

More information

UNIX

UNIX 2000 2 UNIX 2000 4 24 1 3 1.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 1.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

More information

Alien Skin Software, LLC

Alien Skin Software, LLC Blow Up Blow Up Alien Skin Software Alien Skin Software Alien Skin Software, LLC. Alien Skin Software, LLC ... 4... 4... 4 BLOW UP... 5... 6... 6 DPI... 7... 7... 8 A:...8 B:...8 C: ( 1 )...8 D:...9 E:...9

More information

Microsoft Word - no15.docx

Microsoft Word - no15.docx ex33.c /* */ #define IDLENGTH 7 /* */ #define MAX 100 /* */ /* */ struct student char idnumber[idlength + 1]; /* */ int math; /* () */ int english; /* () */ int japanese; /* () */ double average; /* */

More information

( )!?

( )!? (2) Copyright 2006 Kota Abe ( )!? : This is a pen. 84 104 105 83 (, encode) ( ) 84 104 105 83 This is a pen. (, decode) Do you know Tom Riddle? Yes!! ASCII American Standard Code for Information Interchange

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

解きながら学ぶC++入門編

解きながら学ぶC++入門編 第 1 章 画面 出力 入力 2 問題 1-1 C++ List 1-1p.4 C++ // cout

More information

BD-X200 BUSY OPERATE OPEN/CLOSE CH1 AUDIO DOLBY DIGITAL LPCM MPEG DVD RECORDER BD-X200 TITLE CHAPTER OPTION DV Y/C LINE SET UP CH2 PHONES REV STOP PLA

BD-X200 BUSY OPERATE OPEN/CLOSE CH1 AUDIO DOLBY DIGITAL LPCM MPEG DVD RECORDER BD-X200 TITLE CHAPTER OPTION DV Y/C LINE SET UP CH2 PHONES REV STOP PLA BD-X200 BUSY OPERATE OPEN/CLOSE CH1 AUDIO DOLBY DIGITAL LPCM MPEG DVD RECORDER BD-X200 TITLE CHAPTER OPTION DV Y/C LINE SET UP CH2 PHONES REV STOP PLAY FWD PAUSE REC TOP SET LLT0059-001A 2 3 4 5 6 7 8

More information

Microsoft Word - no14.docx

Microsoft Word - no14.docx ex26.c #define MAX 20 int max(int n, int x[]); int num[max]; int i, x; printf(" "); scanf("%d", &x); if(x > MAX) printf("%d %d \n", MAX, MAX); x = MAX; for(i = 0; i < x; i++) printf("%3d : ", i + 1); scanf("%d",

More information

untitled

untitled 1. Ver1.7(Macintosh )... 1 1-1... 1 1-2 Ver1.7... 1 1-3 Ver1.7... 1 1-4... 1 1-4-1... 1 1-4-2... 1 1-4-3... 1 1-5... 1 2... 3 3... 3 3-1... 3 3-2... 3 3-3... 3 3-4 Ver1.6... 3 4 /... 4 4-1... 4 4-2...

More information

Microsoft PowerPoint - 説明2_演算と型(C_guide2)【2015新教材対応確認済み】.pptx

Microsoft PowerPoint - 説明2_演算と型(C_guide2)【2015新教材対応確認済み】.pptx 情報ネットワーク導入ユニット Ⅰ C 言語 演算と型 演算 代入 演算と型 +,-,*,/,% = C 言語では 代入 の意味 vx = a + b; //a+b の結果を vx に代入 型 : int 型 ( 整数 ) double 型 ( 実数 ) 演算での型変換 ( 整数, 実数の混在 ) キャスト演算子 型を一時的に変更 書式指定 :printf("%6d n", a); 加減, 剰余演算

More information

CX-Checker CX-Checker (1)XPath (2)DOM (3) 3 XPath CX-Checker. MISRA-C 62%(79/127) SQMlint 76%(13/17) XPath CX-Checker 3. CX-Checker 4., MISRA-C CX- Ch

CX-Checker CX-Checker (1)XPath (2)DOM (3) 3 XPath CX-Checker. MISRA-C 62%(79/127) SQMlint 76%(13/17) XPath CX-Checker 3. CX-Checker 4., MISRA-C CX- Ch CX-Checker: C 1 1 2 3 4 5 1 CX-Checker CX-Checker XPath DOM 3 CX-Checker MISRA-C CX-Checker: A Customizable Coding Checker for C TOSHINORI OSUKA, 1 TAKASHI KOBAYASHI, 1 JUNICHI MASE, 2 NORITOSHI ATSUMI,

More information

広報さがみはら第1242号

広報さがみはら第1242号 LINE UP 3 1 5 6 1 NO.1242 S A G A M I H A R A 1 1 1 16 16 1 6 1 6 1 6 1 1 1 1 1 11 1 1 1 1 1 1 6 1 6 1 1 1 1 1 1 1 1 11 1 1 16 1 1 1 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 1 16 1 16 1 6 1 1 1 1 1 1

More information

PRIMERGY MX130 S2 システム構成図 (2012年3月版) 樹系図

PRIMERGY MX130 S2 システム構成図 (2012年3月版) 樹系図 PRIMERGY 1 PRIMERGY 2 CPU (*1) CPU PRIMERGY MX130 S2 PYM132T3S AMD Athlon X2 265 (3.3GHz) 220 (2.8GHz) AMD Sempron 145 (2.8GHz) 2 2MB(AMD Athlon X2 265) 1MB(AMD Athlon X2 220 / AMD Sempron 145) 2 (AMD

More information

C V C 6 1 6.1.............................. 1 6.......................... 3 6.3..................... 5 6.4 NULL............................. 8 6.5......................... 9 6.6..............................

More information

/

/ / 1 UNIX AWK( ) 1.1 AWK AWK AWK A.V.Aho P.J.Weinberger B.W.Kernighan 3 UNIX AWK GNU AWK 1 1.2 1 mkdir ~/data data ( ) cd data 1 98 MS DOS FD 1 2 AWK 2.1 AWK 1 2 1 byte.data 1 byte.data 900 0 750 11 810

More information

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1 I117 II I117 PROGRAMMING PRACTICE II 2 MEMORY MANAGEMENT 2 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara yasu@jaist.ac.jp / SCHEDULE 1. 2011/06/07(Tue) / Basic of Programming

More information

debug ( ) 1) ( ) 2) ( ) assert, printf ( ) Japan Advanced Institute of Science and Technology

debug ( ) 1) ( ) 2) ( ) assert, printf ( ) Japan Advanced Institute of Science and Technology I117 28 School of Information Science, Japan Advanced Institute of Science and Technology debug ( ) 1) ( ) 2) ( ) assert, printf ( ) Japan Advanced Institute of Science and Technology 2008 1-2 1 a) b)

More information

Fortran90/95 [9]! (1 ) " " 5 "Hello!"! 3. (line) Fortran Fortran 1 2 * (1 ) 132 ( ) * 2 ( Fortran ) Fortran ,6 (continuation line) 1

Fortran90/95 [9]! (1 )   5 Hello!! 3. (line) Fortran Fortran 1 2 * (1 ) 132 ( ) * 2 ( Fortran ) Fortran ,6 (continuation line) 1 Fortran90/95 2.1 Fortran 2-1 Hello! 1 program example2_01! end program 2! first test program ( ) 3 implicit none! 4 5 write(*,*) "Hello!"! write Hello! 6 7 stop! 8 end program example2_01 1 program 1!

More information

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裶²ó ¨¡ À©¸æ¹½Â¤¡§·«¤êÊÖ¤· ¨¡

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裶²ó  ¨¡ À©¸æ¹½Â¤¡§·«¤êÊÖ¤· ¨¡ (2018) 2018 5 24 ( ) while ( ) do while ( ); for ( ; ; ) while int i = 0; while (i < 100) { printf("i = %3d\n", i); i++; while int i = 0; i while (i < 100) { printf("i = %3d\n", i); i++; while int i =

More information

¥ƥ­¥¹¥ȥ¨¥ǥ£¥¿¤λȤ¤˽

¥ƥ­¥¹¥ȥ¨¥ǥ£¥¿¤λȤ¤˽ : 2010 2 14 1 MS Word.doc (MS Word 2003 ).docx (MS Word 2007 ) Word Windows.txt MS Word Word Word Word Excel Word 1 Word Word Word MS Word MS Word MS Word Word Windows MS Word MS Word Word Windows.txt

More information

Cプログラミング1(再) 第2回

Cプログラミング1(再) 第2回 C プログラミング 1( 再 ) 第 2 回 講義では Cプログラミングの基本を学び演習では やや実践的なプログラミングを通して学ぶ 1 前回のレポートから 前回の宿題 数あてゲーム の説明において 次のように書いていたものがいた : これはコンピュータがランダムに設定した数字を人間が当てるゲームである この説明でどこかおかしなところはないだろうか? 2 コンピュータの用語と日常的な用語の違い 物理において

More information

PRIMERGY TX100 S3 システム構成図 (2012年5月版) 樹系図

PRIMERGY TX100 S3 システム構成図 (2012年5月版) 樹系図 1 DIMM CPU PCI 2 CPU (*1) CPU 3 (*2) (250W1) PYT10PT3S PRIMERGY TX100 S3 Xeon E3-1230v2 (3.30GHz) / E3-1220v2 (3.10GHz) 8MB ( Xeon E3-1230v2 / E3-1220v2) 4 ( Xeon E3-1230v2 / E3-1220v2) 1600MHz ( Xeon

More information

LSH3501バーコードスキャナは CDRH Classレーザ製品に準拠した製品です ご使用に際しては次の点にご注意ください 正面の窓からレーザ光が出ます 目に障害を与える危険性があります 目に障害を与える危険性があります 分解時にもレーザ光が出ます LSH3501バーコードスキャナは 内部保守の必

LSH3501バーコードスキャナは CDRH Classレーザ製品に準拠した製品です ご使用に際しては次の点にご注意ください 正面の窓からレーザ光が出ます 目に障害を与える危険性があります 目に障害を与える危険性があります 分解時にもレーザ光が出ます LSH3501バーコードスキャナは 内部保守の必 LSH3501 LSH3501VHD OLYMPUS SYMBOL, INC LSH3501バーコードスキャナは CDRH Classレーザ製品に準拠した製品です ご使用に際しては次の点にご注意ください 正面の窓からレーザ光が出ます 目に障害を与える危険性があります 目に障害を与える危険性があります 分解時にもレーザ光が出ます LSH3501バーコードスキャナは 内部保守の必要がないように設計されています

More information

SNJ HQカリキュラム パソコン入門コース

SNJ HQカリキュラム パソコン入門コース ...1... 2... 2... 4... 5... 5... 6... 9... 12... 13... 13... 13... 14... 16... 16... 17... 18... 19... 20... 22 1.... 22 2.... 22 1 1 1 CPU 106/109 2 3 J ( ) K L F ( ) D S A 4 URL / 5 ffjj Enter / 6 7

More information

ヘルプの使い方

ヘルプの使い方 そんなの知ってるよ という方も もしかしたらあなたの 知らなかった便利機能があるかも!? 目次 ヘルプの使い方 - ヘルプメニューから表示する - ダイアログの解説を表示する - コマンドの解説を表示する -4 F キーで表示する - ヘルプ内の文章を検索する - 検索結果をソートする 4 - さらに高度な検索をする 5-4 トピック内の文章を検索する 6 ヘルプから動画を表示する 7 4 ヘルプからコマンドを実行する

More information

FileMaker Pro 8.5 Tutorial

FileMaker Pro 8.5 Tutorial 2004 2006 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker, Inc. ScriptMaker FileMaker, Inc. FileMaker FileMaker, Inc. FileMaker

More information

18 C ( ) hello world.c 1 #include <stdio.h> 2 3 main() 4 { 5 printf("hello World\n"); 6 } [ ] [ ] #include <stdio.h> % cc hello_world.c %./a.o

18 C ( ) hello world.c 1 #include <stdio.h> 2 3 main() 4 { 5 printf(hello World\n); 6 } [ ] [ ] #include <stdio.h> % cc hello_world.c %./a.o 18 C ( ) 1 1 1.1 hello world.c 5 printf("hello World\n"); 6 } [ ] [ ] #include % cc hello_world.c %./a.out Hello World [a.out ] % cc hello_world.c -o hello_world [ ( ) ] (K&R 4.1.1) #include

More information

tuat2.dvi

tuat2.dvi ( 2 ) http://ist.ksc.kwansei.ac.jp/ tutimura/ 2012 7 7 ( 2 ) 1 / 54 (1) (2) (?) (1) (2) 2 ( 2 ) 2 / 54 1. 30 2. 2012 6 30 25 OS ( 2 ) 3 / 54 10 20 1993 1996 2000 2003 = 30 ( 2 ) 4 / 54 1 2 2 ( 2 ) 5 /

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) double

More information

初歩のC言語ターミナル_2014_May.pages

初歩のC言語ターミナル_2014_May.pages C Mac OS X ( Vi Mi) Xcode CD >cd C:\Users\\Desktop gcc first.c C:\Users\\Desktop>gcc -o first first.c gcc first.c C:\Users\\Desktop>first Windows OS VisualStudio VisualStudio VS2012 CD C:\ >cd C:\Users\

More information

卒 業 研 究 報 告.PDF

卒 業 研 究 報 告.PDF C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)

More information

‚æ2›ñ C„¾„ê‡Ìš|

‚æ2›ñ C„¾„ê‡Ìš| I 8 10 10 I ( 6 ) 10 10 1 / 23 1 C ( ) getchar(), gets(), scanf() ( ) putchar(), puts(), printf() 1 getchar(), putchar() 1 I ( 6 ) 10 10 2 / 23 1 (getchar 1 1) 1 #include 2 void main(void){ 3 int

More information

ohp1.dvi

ohp1.dvi 2008 1 2008.10.10 1 ( 2 ) ( ) ( ) 1 2 1.5 3 2 ( ) 50:50 Ruby ( ) Ruby http://www.ruby-lang.org/ja/ Windows Windows 3 Web Web http://lecture.ecc.u-tokyo.ac.jp/~kuno/is08/ / ( / ) / @@@ ( 3 ) @@@ :!! ( )

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) { double

More information

OOCOBOL紹介

OOCOBOL紹介 ISO ANSI COBOL85 COBOL 1959 COBOL OOCOBOL 1 ... 1... 3.... 3. OOCOBOL... 4.1.... 4.2.... 5.3. IDENTIFICATION DIVISION... 7.4. ENVIRONMENT DIVISION.... 7.5. DATA DIVISION... 7.6. PROCEDURE DIVISION....

More information

Microsoft Word - no15.docx

Microsoft Word - no15.docx 7. ファイルいままでは プログラムを実行したとき その結果を画面で確認していました 簡単なものならそれでもいいのですか 複雑な結果は画面で見るだけでなく ファイルに保存できればよいでしょう ここでは このファイルについて説明します 使う関数のプロトタイプは次のとおりです FILE *fopen(const char *filename, const char *mode); ファイルを読み書きできるようにする

More information

1.ppt

1.ppt /* * Program name: hello.c */ #include int main() { printf( hello, world\n ); return 0; /* * Program name: Hello.java */ import java.io.*; class Hello { public static void main(string[] arg)

More information

book-review.dvi

book-review.dvi 2005 4 Version 0.9α.,.,.,,.,,,.,,.,,,, C,.,. ISBN ISBN,., WEB. 1 [1] ISBN 4-00-116340-3.,,. [2] L. Goldschlager and A. Lister ( ),, 1987 2,600 + ISBN 4-7649-0284-2,,,.,. [3] 1998 2,700 + ISBN 4-88552-149-1..

More information

10

10 2: http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp 10 : 0 1 2 n 2 n 0 1 1 0 1 0 0 1 (2) = 105 1 = 8 1 2 8 = 256 0 9 105 i 106 j 256 2 1 #include int main(void)

More information

FileMaker Pro Tutorial

FileMaker Pro Tutorial FileMaker Pro 11 2007-2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker, Inc. FileMaker, Inc. FileMaker FileMaker, Inc.

More information

For_Beginners_CAPL.indd

For_Beginners_CAPL.indd CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL

More information

Ⅰ Report#1 Report#1 printf() /* Program : hello.c Student-ID : 095740C Author UpDate Comment */ #include int main(){ : Yuhi,TOMARI : 2009/04/28(Thu) : Used Easy Function printf() 10 printf("hello,

More information

11042 計算機言語7回目 サポートページ:

11042 計算機言語7回目  サポートページ: 11042 7 :https://goo.gl/678wgm November 27, 2017 10/2 1(print, ) 10/16 2(2, ) 10/23 (3 ) 10/31( ),11/6 (4 ) 11/13,, 1 (5 6 ) 11/20,, 2 (5 6 ) 11/27 (7 12/4 (9 ) 12/11 1 (10 ) 12/18 2 (10 ) 12/25 3 (11

More information

johokiso-char.pdf.pdf

johokiso-char.pdf.pdf 1 2 (2) l ASCIIJISUnicode ISO-2022-JP, Shift_JIS, EUC-JP Web l Copyright 2006-2018 Kota Abe 2018/06/12 3 4 l ()!? 5 6 l : This is a pen. 84 104 105 83 This is a pen. (, encode) () (, decode) l 41 42 43

More information

programmingII2019-v01

programmingII2019-v01 II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2

More information

Microsoft Word - Cプログラミング演習(1)_2012

Microsoft Word - Cプログラミング演習(1)_2012 第 1 回 (4/16) 参考書 : [1] B.W. カーニハン,D.M. リッチー著 : プログラミング言語 C 第 2 版 ANSI 規格準拠, 共立出版, 1989 年. [2] 高橋麻奈著 : やさしい C 第 2 版, ソフトバンククリエイティブ, 2003 年. [3] 柴田望洋著 : 新版明解 C 言語入門編, ソフトバンククリエイティブ, 2004 年. [4] 林晴比古著 : 新

More information