C TSG

Size: px
Start display at page:

Download "198..................................... 1 C++ 1............................ 14 8086........................... 34............................. 43 TSG"

Transcription

1 Theoretical Science Group

2 C TSG Ver ZERO 55

3 TSG No

4 TYM PC-9821Xa13/K12 MT-8617ES BJC-400J MC288XL II PC /PC-9821C3-B02 2 PC 9801DA2 1) 10 My P My P R (NPCA)( ) 1 ( ) INFINITY- SERVE ( ) BBS CG BBS (^_^;) (LaT E X ) C/C++, 86ASM, QuickBASIC > < 1 MS OS ECC UNIX 1 19 ( ) ZOB Station BBS zob19155 BBS INU00090 INFINITY-SERVE INF00028 ECC g Takahiro SAKAMOTO 1) 2 TSG No. 199

5 : 1 SI-20 : : [b] [ ]? : : COMPAQ PRESARIO CDTV TOSHIBA DynaBook V386 ( 486DX2 66MHz ) C (LSIC-86 )?? DynaBook BBS I 4 GATEWAY2000 P5-133 (SPEC: Pentium133MHz 16MB-EDO 1GB-HD 256KB-PBSRAM) TSG No

6 ( ) 2 12 Macintosh SE, IBM XT/AT : TSG ( 5 LISP Scheme )! : : PC 6001 PC 9801UV21 98 FM V DESK POWER SP 98 PC-9821Xa10/C12 MF-8617E BJ-10V select WaveMaster 4 TSG No. 199

7 2 MUL- TI16 (?) ASM86 PC-9801NS/E BASIC NS/E Windows3.1 HD Xa10 Windows 3 NS/E NS/E Xa10 C N88BASIC : : : BASIC C italk Trr (190 )!! TSG No

8 : :, : : : : 13 / / SHARP PC-E650 ( ) BASIC 6 TSG No. 199

9 ( ) 1 28 ( ) PC-9801FA2, FAMILY BASIC, FAMILY BASIC V3, FAMILY COMPUTER, FAMILY COMPUTER DISK SYSTEM, SUPERFAMICON, GAME BOY, SEGASATURN 4 ( ) ( ) BASIC 13 BASIC C TSG No

10 NEC P9801DX/U2 IBM Aptiva Music Vision(2407-RYD) 1 BASIC C Pascal TSG No. 199

11 [ ] ( ) ( ) 4 E PC9801DA 240Mb 3 CPU 28800bps [2 23 (!) ] ( ) 4 MSX MSX 1 ( 30 5 ) ( ) ( ) 30 ( ) BASIC ( ) ( ) 2 3 ( ) 3 2 CONFIG.SYS 3 TSG No

12 C++! 1 11 ( ) PC-9801FA (?! ) BJ-10v ; BASIC ( ) 8 (MSX ) 98 DOS/V 98 (6_6"! 2 12 ( ) 10 TSG No. 199

13 II Gs 100 ZERO2 TSG TSGer ( ) : : 2 4 ( ) : :O : 1 ( 2 ) 1 RPG 64 BEST!!!! ( ) TSG No

14 ( ) 2 13 AT,AMD5x86/160MHz,16MB-DRAM,340MB-HDD, HDD PC UNIX 12 TSG No. 199

15 : pdf html : :> TSG No

16 C++ 1 C++ 1 C / C A Intel CPU Pentium ax ) 2 C / C++ BASIC Fortran Cobol Prolog Lisp Pascal Smalltalk Java C C++ 1) CPU IC 14 TSG No. 199

17 C++ 1 C C++ 2) C / C++ C / C++ C / C++ C / C++ C / C++ C / C++ C / C++ ( ) C / C++ 3 C C++ C++ C C C++ UNIX MS-DOS Windows Mule ls 2) BASIC BASIC TSG No

18 C hello, world Mule hello.cc #include <iostream.h> main() { cout << "hello, world"; cout << endl; } hello.cc kterm g540879@xss01> gcc hello.cc -lg++ g540879@xss01> ID g540879@xss01> error TSG hello.cc ls g540879@xss01> ls a.out hello.cc a.out a.out hello.cc executable file g540879@xss01> a.out hello, world hello, world 5 hello.cc hello, world hello.cc.cc C++ 16 TSG No. 199

19 C++ 1 source code gcc gcc GNU C & C++ Compiler GNU GNU -lg++ C++ C hello.cc 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world"; 5: cout << endl; 6: } C++ function definition statement C++ main C++ main C++ C++ procedure C++ main main() { ; ;... } main () main { } ; hello.cc main() 4: cout << "hello, world"; cout stream output operator << hello.cc "hello, world" C++ " string TSG No

20 C++ 1 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl; 5: } endl 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" 5: << "Hello, TSGers!"; 6: } 4 ; 2 g540879@xss01> a.out hello, worldhello, TSGers! 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl 5: << "Hello, TSGers!" << endl; 6: } 4 hello, world Hello, TSGers! endl g540879@xss01> a.out hello, world Hello, TSGers! endl 1 1: #include <iostream.h> # statement #include <iostream.h> iostream.h iostream.h /usr/include iostream.h cout main() cout cout Mule iostream.h cout hello.cc 18 TSG No. 199

21 C a.out UNIX mv a.out g540879@xss01> gcc -o hello hello.cc -lg++ a.out hello 5.2 C++ 1: #include <iostream.h> 2: main() 3: { 4: cout << "hello, world" << endl; 5: cout << "Hello, TSGers!" << endl; 6: } 1: #include <iostream.h> 2: main(){cout<<"hello, world"<<endl<<"hello, TSGers!"<<endl;} 1: #include <iostream.h> 2: main(){ 3: cout << "hello, world" <<endl; 4: 5: cout<<"hello, TSGers!" <<endl; 6: } 6 C++ variable ON OFF TSG No

22 C ,108,864 16,777,216 xxxx data type int int , 147, 483, , 147, 483, C++ declare ; main() { int x; int y; int z; underbar _ main() { int width, height, number_of_members;... = #include <iostream.h> main() { int width, height, area; width = 3; height = 5; area = width * height; cout << "The area is " << area << endl; } 20 TSG No. 199

23 C++ 1 asterisk * The area is 15 8 #include <iostream.h> main() { int width, height, area; area = width * height; cout << "The area is " << area << endl; } width height 0 area #include <iostream.h> main() { int width = 3, height = 5; int area = width * height; cout << "The area is " << area << endl; } 9 int TSG No

24 C++ 1 char 1 ( ) short 2 ( 32, , 767) long 4 ( 2, 147, 483, , 147, 483, 647) int long float 4 ( ) double 8 ( ) long double 10 ( ) int #include <iostream.h> main() { float pi = 3.14, r = 1.4; float area = pi * r * r; cout << "The area is " << area << endl; } 9.1 sizeof #include <iostream.h> main() { cout << "Data Type bytes"<< endl << "char " << sizeof(char) << endl << "short " << sizeof(short) << endl << "long " << sizeof(long) << endl << "int " << sizeof(int) << endl << "float " << sizeof(float) << endl << "double " << sizeof(double) << endl << "long double " << sizeof(long double) << endl; } * / 22 TSG No. 199

25 C++ 1 #include <iostream.h> main() { cout << "5 / 3 = " << 5 / 3 << endl; } 1 modulus operator % #include <iostream.h> main() { cout << "5 / 3 = " << 5 / 3 << "... " << 5 % 3 << endl; cout << "5 / 3 = " << 5.0 / 3.0 << endl; } 5 / 3 = / 3 = #include <iostream.h> 1: main() 2: { 3: short s; 4: float f; 5: f = 1.9; 6: s = f; 7: cout << s << endl; 8: f = ; 9: s = f; 10: cout << s << endl; 11: } f short s 10.1 C++ TSG No

26 C++ 1 a++ a-- a += b a = b = c a = (b = c) a = b++ a = ++b a 1 a 1 a b a b c a b b 1 b 1 a b 11 2 (1, 2) (3, 4) C++ math.h sqrt() math.h #include <iostream.h> #include <math.h> main() { double distance = sqrt( (1-3)*(1-3) + (2-4)*(2-4) ); cout << distance; } 2 distance() #include <iostream.h> #include <math.h> main() { cout << distance(1, 2, 3, 4); cout << distance(5.1, 6.2, 7.3, 8.4); } C++ distance() 1:double distance(double x1, double y1, double x2, double y2) 2:{ 3: double result; 4: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 5: return result; 6:} 24 TSG No. 199

27 C double distance() double 5 return result result double 1 double distance() () double x1, double y1, double x2, double y2 double x1,y1,x2,y2 #include <iostream.h> #include <math.h> double distance(double x1, double y1, double x2, double y2) { double result; result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); return result; } main() { cout << distance(1, 2, 3, 4); cout << distance(5.1, 6.2, 7.3, 8.4); } distance() 11.1 distance() 1 debug distance() distance() 2 distance() 3 distance() main() distance() TSG No

28 C cin >> #include <iostream.h> main() { cout << " " << endl; int width, length, height; cin >> width >> length >> height; cout << " " << width * length * height << end; } cout cin #include <iostream.h> C++ UNIX MS-DOS 2 xss01> hello >output output hello, world output <input redirection 12.1 C // 2 /* */ #include <iostream.h> // main() { 26 TSG No. 199

29 C++ 1 } /* */ // double pi = , r = 1.41; // cout << 2 * pi * r << endl; /* */ cout << pi * r * r << endl; /* * */ /* */ /************************ * */ : #include <iostream.h> 2: #include <math.h> 3: 4: double distance(double x1, double y1, double x2, double y2) 5: { 6: double result; 7: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } 10: 11: main() 12: { 13: double x1,y1, x2,y2; 14: cout << " 2 " << endl; 15: cout << " 1 x "; 16: cin >> x1; 17: cout << " 1 y "; 18: cin >> y1; 19: cout << " 2 x "; 20: cin >> x2; 21: cout << " 2 y "; 22: cin >> y2; TSG No

30 C : 24: cout << " " << distance(x1,y1, x2,y2) << endl; 25: cout << "2 (" << x1 << "," << y1 << ") (" 26 << x2 << "," << y2 << ")" << endl; 27: } distance() 2 distance() 7 8 x1 = 0; y1 = 0; x2 = 0; y2 = 0; 0 distance() x1,y1,x2,y2 main() scope local variable automatic variable global variable distance() result 1: #include <iostream.h> 2: #include <math.h> 3: 4: double result; 5: void distance(double x1, double y1, double x2, double y2) 6: { 7: result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return; 9: } 10: 11: main() 12: { 13: double x1,y1, x2,y2; 14: cout << " 2 " << endl; 15: cout << " 1 x "; 16: cin >> x1; 17: cout << " 1 y "; 18: cin >> y1; 19: cout << " 2 x "; 20: cin >> x2; 21: cout << " 2 y "; 22: cin >> y2; 23: distance(x1,y1, x2,y2); 24: cout << " " << result << endl; 28 TSG No. 199

31 C : cout << "2 (" << x1 << "," << y1 << ") (" 26 << x2 << "," << y2 << ")" << endl; 27: } 4 result 7 24 distance() void 14 extent distance() 1: double distance(double x1, double y1, double x2, double y2) 2: { 3: int counter = 0; 4: counter++; 5: cout << "distance() called " << counter << "time(s)" << endl; 6: 7: double result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } distance() called 1 time(s) C++ distance() distance() counter counter counter return counter result counter counter distance() counter 0 1 counter dynamic extent static extent TSG No

32 C++ 1 counter counter distance() C++ static 1: double distance(double x1, double y1, double x2, double y2) 2: { 3: static int counter = 0; 4: counter++; 5: cout << "distance() called " << counter << "time(s)" << endl; 6: 7: double result = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); 8: return result; 9: } distance() 15 C++ Boolean expression true false 0 0 if if( ){ } else{ } {} else{} #include <iostream.h> main() { int temperature; cout << " "; cin >> temperature; if(temperature > 25) cout << " " << endl; else if(temperature < 10) cout << " " << endl; 30 TSG No. 199

33 C++ 1 else cout << " " << end; } else if 2 a == b a!= b a > b a < b a >= b a <= b a b = a b a b a b a b a b == = if(temperature = 100) cout << " " << endl; C++ temperature = (temperature = 100) == 100 x = y = 0 x y 0 0 temperature = C #include <iostream.h> main() { int number; cout << "0 "; cin >> number; if(number) cout << " " << endl; else cout << "0 " << end; } if(number) TSG No

34 C while while while( ){ } { } { } { } a n power(a,n) #include <iostream.h> int power(int a, int n) { int result = 1; // 0 while(n!= 0){ result = result * a; n--; } return result; } main() { int a,n; cout << "a "; cin >> a; cout << "n "; cin >> n; cout << "a n " << power(a,n) << " " << endl; } while(n!= 0) while(n) n!= 0 17 for while for 32 TSG No. 199

35 C++ 1 for( ; ; ;){ } { } for for 1 n sum(n) #include <iostream.h> int sum(int n) { int result = 0; for(int i = 1; i <= n; i++) result += i; return result; } main() { int n; cout << "n "; cin >> n; cout << "1 n " << sum(n) << " " << endl; } for int i = 1; for { } { } for(; ;){} while( ){} while for 17.1 a n power() math.h log() exp() To be continued... TSG No

36 (T_T) 8MB H 02H 03H 04H 05H 06H 04H TSG No. 199

37 8086 Z B01A MOV AL,1A 1 1 MOV 8 16 CPU MOV MOV < >, < > MOV 16H AL MOV AL,16H 0541H AL MOV [0541H],AL [] MOV 0541H,AL MOV AL,16H MOV AL,[16H] 0016H AL TSG No

38 A56H AX MOV AX, 1A56H 1 1AH AH 56H AL CPU MOV [0123H],AX CPU AX H 0124H AH 0124H AL 0123H AX BX MOV [BX],AX [] BX AX BX AX C 1) MOV [BX + 5],AX BX 5 AX MOV MOV 2 CS MOV 3 MOV AL,0AAH MOV [0123H],AL MOV [0123H],0AAH 1) 36 TSG No. 199

39 8086 MOV AL,[0123H] MOV [3210H],AL MOV [3210H],[0123H] (AX,BX,CX,DX,SI,DI,BP,SP) (10H,1234H ) (CS,DS,ES,SS) ([01234h] [45ACH] ) CS MOV AX,[BX+5] MOV AX,[BX+SI+5] 5 (BX,BP) + : [BP+1] TSG No

40 8086 (SI,DI) + : [SI+6] (BX,BP) + (SI,DI) + : [BX+DI+4], [BP+SI+6], [BX+DI+7] 1 1 CPU ALU (Arithmetic and Logic Unit) ALU 0 CPU 8086 ADD < >, < > AL 1 2AH ADD AL,2AH AL 11H AL 3BH SUB < >, < > AL 1234H SUB AL,[1234H] AL 38 TSG No. 199

41 ADD +1 1 ADD INC < > INC AL ADD AL,1 DEC < > MOV BL,34H ;BL 1 34 MOV AL,BL ;AL BL INC AL ;AL MOV [A123H],AL ;AL DEC BL ;BL ADD AL,BL ;AL BL SUB AL,BL ;AL BL (^_^; 2 ALU TSG No

42 8086 OF DF IF TF SF ZF AF PF CF OF DF IF TF SF ZF AF BCD PF 1 CF 1 CMP < >, < > SF,ZF,PF AX AL DX 40 TSG No. 199

43 8086 MUL < > 8 AL AX 16 AX DX AX MUL BX AX DX AX DIV < > 8 AX AL AH 16 DX 16 AX AX DX MUL,DIV PTR PTR BYTE PTR [ ] WORD PTR [ ] 2 INC [0123H] INC BYTE PTR [0123H] INC WORD PTR [0123H] MOV [0FFFH], 3AH TSG No

44 8086 MOV BYTE PTR [0125H],3AH MOV WORD PTR [0125H],3AH [0126H] 00H 42 TSG No. 199

45 1 ASCII MS-DOS/Windows Mac ASCII JIS( JIS) UNIX JIS EUC JIS Unicode Windows95/NT? JIS? EUC 2?? (^_^) 1 (1970 ) 1978 JIS TSG No

46 1.1 JIS ASCII 0x00 0x1F 0x7F 0x20 0x7E 0x21 0x5F (7 ) / 0xA1 0xDF (8 ) 0x2121 0x7E7E ( 1 2 0x21 0x7E) 0x2121 0x7E7E ( 1 2 0x21 0x7E) ASCII ASCII ASCII ESC ESC $ B ESC ( B ESC ( J ESC $ ( D 7 ASCII SO (0x0E) ESC ( I SI (0x0F) ESC ( B ESC ( J 7 7 JIS 8 8 JIS JIS N 88 BASIC PC-PR ESC K ESC H NEC JIS 1.2 JIS (MS ) UNIX(NEWS-OS HP-UX ) 16 Multi16 Multi16 CP/M-86 JIS 44 TSG No. 199

47 ASCII 0x00 0x1F 0x7F 0x20 0x7E 0xA1 0xDF 0x8140 0x9FFC 0xE040 0xFCFC ( 1 : 0x81 0x9F 0xE0 0xFC 2 : 0x40 0x7E 0x80 0xFC) 8 ASCII JIS JIS 1 ASCII 1 2 ASCII 0x20 0x3F 0x7F ASCII 1:2 1:2 JIS ( ) 2 0x40 0x7E ( ASCII \ 0x5C) MSB 1.3 EUC UNIX EUC Extended UNIX Code UNIX EUC EUC EUC EUC EUC UJIS (Unixized JIS) ASCII 0x00 0x1F 0x7F 0x20 0x7E 0xA1A1 0xFEFE ( 1 2 0xA1 0xFE) 0x8EA1 0x8EDF 0x8FA1A1 0x8FFEFE ( 2 3 0xA1 0xFE) JIS JIS JIS MSB 1 TSG No

48 0x8E 2 0x8F ASCII ASCII JIS JIS EUC EUC JIS JIS 2 ASCII 1 ASCII ASCII (American Standard Code for Information Interchange) ASCII 7 0x00 0x1F 0x20 0x21 0x7E 0x7F (control characters) (SP) (graphic characters) DEL (delete) 46 TSG No. 199

49 0x5C 0x7C 0x7E \ ( ) ( ) ~ ( ) ASCII 7 0x80 0xFF 0x80 0xFF ASCII DEL 0x7F? 2 1/0 (SunOS ppt(6) ) x7F 2.2 ISO 646 ISO (International Standardization Organization ) ISO CD-ROM MO ISO ISO ISO 646 / ASCII / IRV (International Reference Version) IRV ASCII ( ) IRV 12 IRV(ASCII) 0x23 # 0x5C \ 0x7B { 0x24 $ 0x5D [ 0x7B 0x5E ^ 0x7B } 0x5B [ 0x60 0x7B ~ ISO 646 ASCII ISO 646 TSG No

50 BS(backspace) â ^ BS a ISO 646 IRV 0x5C (Y=) 0x7E ( _ ) JIS X 0201 JIS JIS (JIS Roman) 0x5C 0x7E NEC PC 0x7E IRV 0x7C IRV JIS X 0201 PC 0x21 0x7E ISO 646 ( 0x60 ) ISO 646 ISO JIS X 0201 C UNIX ü é C UNIX ( C ) ASCII ISO ( ) 8 7 ISO 646 ISO 646 ( ) ASCII ( ) ISO 646 / /ASCII ISO TSG No. 199

51 ISO 646( ASCII) 8 0x80 0xFF JIS JIS X 0201 ISO xA1 0xDF JIS X 0201 (0x00 0x7F) ISO 646 (0x80 0xFF) ASCII 8 IBM PC PC DOS 437 Windows OEM EGA VGA PCG ( :-) ) IBM PC DOS Macintosh IBM PC ( ) 437 IBM PC 850 ( ) 852 ( ) (JIS X 0201) ISO ASCII 8 ISO 8859 IBM PC ASCII ( 10 ) TSG No

52 1: JIS X TSG No. 199

53 ISO (Latin-1) ISO (Latin-2) ISO (Latin-3) ISO (Latin-4) ISO ISO ISO ISO ISO (Latin-5) ISO (Latin-6) ISO Latin-1 xterm 8 Latin-1 Windows ANSI Latin-1 ISO 8859 IBM ISO 8859 ISO 646 Latin ISO 8 (8859 ) 0x00 0x1F 0x20 0x7E 0x7F 0x80 0x9F 0xA0 0xFF ASCII DEL TSG No

54 2: Latin 1 52 TSG No. 199

55 3: ISO TSG No

56 ISO : JIS 3.1 JIS X JIS X (coded character set) 3.4 (encoding method, encoding scheme) 4 : ISO ISO ISO : ISO ISO : ISO EUC 5.2 JIS (JUNET ISO-2022-JP) 5.3 JIS 5.4 ISO 8859 JIS X C1 6 : 6.1 GB Big-5 CNS KS C : ISO Unicode 7.1 ISO UCS 7.3 UTF 54 TSG No. 199

57 TSG Ver. 1.0 TSG Ver. 1.0 ZERO [47 ] [ ] ( ) italk italk ( ) italk ( ) [ italk] [ ] ( ) 1. ( ) TSG G T TSG [ ] [ BBS] ( ) TSGer ( ) BBS TSGer (^^; TSG ( news ) ( ) 1. ( ) BBS 2. TSG ( ) TSG No

58 TSG Ver. 1.0 ( ) (!) ( ) [ ] ( ) Trade MO ( ) ( ) [ ] [ ] ( )? ( ) G H ( ) G ( ) [ ] ( ) TV ( ) TSG TV LD (^^; [ ] ( )! ( 56 TSG No. 199

59 TSG Ver. 1.0 ( )) [ ] [ ] ( ) TSG H [ ] [ ] ( ) TSG ( ) (?) ( 2 ) (^^; [ ] ( ) (^^; FM-TOWNS ( ) ( ) [ ] [ ] (?) ( ) ( ) (?) ( ) ( ) ( ) ( : ) ( ) TSG No

60 TSG Ver. 1.0 TSG (!) ( ) (! ) [ ] ( ) 4 PS ( )?( ) [ ] ( ) TSG italk italk...( ) Zepher [ ] [ ] ( ) 2! (^^; [ ] ( ) TSG 1 ( ) ( ) [ TSG No.195] ( ) TSG... ( ) [ ] 58 TSG No. 199

61 TSG Ver. 1.0 [ ] ( ) Time Attack 01 F1 T O ( ) TSG ( ) :! T( ) [ ] [TSG] ( )...(!) [ ] [ ] ( ) 3D PS 2 ( ) ( ) [ 2] 2 [ 2] ( ) K 305 ( 2 ( )) 305 TV 2 ( ) [ ] [TEX] ( ) TSG No

62 TSG Ver. 1.0 ( ) TEX tex ( ) ( ) 64 [ 64] ( ) 90 ( ) TSG! [ ] [ ] ( ) [ ] ( ) PS! 2 1 [ ] [ ] ( ) ( ( )) 2 TSG ( ) [ ] ( ) 60 TSG No. 199

63 TSG Ver. 1.0 [ ] ( ) No.78 TSG ( ) ( ) ( ) [ ] ( ) TSG ( ) ( )?( ) [ ] ( ) 2 1 ( ) ( ) (TSG ( )) TSG [ ] ( ) SONY 2 TSG No

64 TSG Ver RR (?) FF VII [ 64 ] [ ] ( ) TSG ( ) ( (^^; ) (^^; [ ] [ ] ( ) TSG 3 05 TV PS MD 305 TSGer ( ) 305 X 3 GANA [ ] ( ) ( ) TEX (^^; ( ) Windows 1 TSG Windows T G [ ] [ ] ( ) 62 TSG No. 199

65 TSG Ver Windows (^^; OS! 2. ( ) [ ] ( ) ( ) [ ] ( ) 1 ( Xa/C10 ( )) ( ) (^^; VR ( ) ( ) TV ( ) [ 64 ] ( ) ( ) ( ) ( ) ( ) ( ) [ ] ( ) 300km/h ( 300km/h ) TSG No

66 TSG Ver. 1.0 ( ) [ ] [ ] ( ) Theoretical Science Group TSG (?) TSG ( ) (^^; (^^; (^^; [ ] : (^^; TSG 3 2 (^^; (^^; written by ZERO 64 TSG No. 199

67 6 (^^;; pdf pdf Telephone: (C) Theoretical Science Group, University of Tokyo, All rights are reserved. Printed in Japan.

68 T HEORET ICAL SCIEN CE GROUP

(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

文字コードとその実装

文字コードとその実装 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) 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

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

¥ƥ­¥¹¥ȥ¨¥ǥ£¥¿¤λȤ¤˽ : 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

203.dvi

203.dvi Theoretical Science Group 203 X RPG Project (Zephyr) ( ) tcommand............................... 1 13...................... 3......................... 7 RPG Project................................ 8 Tactics

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

buho210.dvi

buho210.dvi int fp7220::opensocket( void ) { struct hostent *hp; struct sockaddr_in sin; unsigned timeout; int result, s; } // make socket if (!(hp = gethostbyname(szserverloc)) ) return -1; if ( (s = socket(af_inet,

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

アセンブラ入門(CASL II) 第3版

アセンブラ入門(CASL II) 第3版 CASLDV i COMET II COMET II CASL II COMET II 1 1 44 (1969 ) COMETCASL 6 (1994 ) COMETCASL 13 (2001 ) COMETCASL COMET IICASL II COMET IICASL II CASL II 2001 1 3 3 L A TEX 2 CASL II COMET II 6 6 7 Windows(Windows

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

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

1 1.1 =-=-=-DATA-=-=-= *** ******************* **** (**) **** 1973 6 19 23 93 8 1 3 1 2 3+ FM-old7 PC-E550 16 32 As ( AS400 ^^) 100 ( 100 ) (ToT) C FM

1 1.1 =-=-=-DATA-=-=-= *** ******************* **** (**) **** 1973 6 19 23 93 8 1 3 1 2 3+ FM-old7 PC-E550 16 32 As ( AS400 ^^) 100 ( 100 ) (ToT) C FM TSG Vol.174 :-) 1. 2. [ 1] 1....................................... 1 2 TSG with..........zet. 15 [ 2] 3............................... 17 [ 2] 4........................... FUN 21 [ ] 5 What s your name?

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

273? C

273? C TSG Theoretical Science Group 273? C 2-1.................................. 2 -1. Windows Mac Mac UNIX CUI bash >_ Finder TSG No.273? 2 3 pwd ls cd ( ) change directory 3 TSG No.273? cd hoge cd hoge cd....../

More information

u302.book

u302.book Text Search Filter Library Version 3 3000-6-302-10 P-1MD3-3831* Text Search Filter Library Version 3 03-10 OS AIX 5L V5.2 AIX 5L V5.3 P-24D3-3834 Text Search Filter Library Version 3 03-10 OS Windows 2000

More information

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved (Version: 2013/5/16) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

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

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

tsg178.dvi

tsg178.dvi TSG Vol.178 1...Zephyr 2 2 8...TARO 4 3.AJI... 6 4DS HR... 7 5... 9 > < 6... 12 :-) (HRD) !! (T_T) TANK??? Makken??? CYC ( ) 1 1 ( ) Zephyr TANK ( ) 93 106 (?) 1 Live Excite TSG 2 TANK Ein 3 Aji C tclc

More information

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225

Java Java Java Java Java 4 p * *** ***** *** * Unix p a,b,c,d 100,200,250,500 a*b = a*b+c = a*b+c*d = (a+b)*(c+d) = 225 Java Java Java Java Java 4 p35 4-2 * *** ***** *** * Unix p36 4-3 a,b,c,d 100,200,250,500 a*b = 20000 a*b+c = 20250 a*b+c*d = 145000 (a+b)*(c+d) = 225000 a+b*c+d = 50600 b/a+d/c = 4 p38 4-4 (1) mul = 1

More information

pptx

pptx iphone 2010 8 18 C xkozima@myu.ac.jp C Hello, World! Hello World hello.c! printf( Hello, World!\n );! os> ls! hello.c! os> cc hello.c o hello! os> ls! hello!!hello.c! os>./hello! Hello, World!! os>! os>

More information

Copyright c 2008 Zhenjiang Hu, All Right Reserved.

Copyright c 2008 Zhenjiang Hu, All Right Reserved. 2008 10 27 Copyright c 2008 Zhenjiang Hu, All Right Reserved. (Bool) True False data Bool = False True Remark: not :: Bool Bool not False = True not True = False (Pattern matching) (Rewriting rules) not

More information

2

2 Haskell ( ) kazu@iij.ad.jp 1 2 Blub Paul Graham http://practical-scheme.net/trans/beating-the-averages-j.html Blub Blub Blub Blub 3 Haskell Sebastian Sylvan http://www.haskell.org/haskellwiki/why_haskell_matters...

More information

Java updated

Java updated Java 2003.07.14 updated 3 1 Java 5 1.1 Java................................. 5 1.2 Java..................................... 5 1.3 Java................................ 6 1.3.1 Java.......................

More information

1 CUI CUI CUI 1.1 cout cin 1.1.1 redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c

1 CUI CUI CUI 1.1 cout cin 1.1.1 redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c C/C++ 007 6 11 1 CUI 1.1....................................... 1................................ 3 1.3 argc argv................................. 5.1.............................................. 5...............................................

More information

Microsoft Word - 触ってみよう、Maximaに2.doc

Microsoft Word - 触ってみよう、Maximaに2.doc i i e! ( x +1) 2 3 ( 2x + 3)! ( x + 1) 3 ( a + b) 5 2 2 2 2! 3! 5! 7 2 x! 3x! 1 = 0 ",! " >!!! # 2x + 4y = 30 "! x + y = 12 sin x lim x!0 x x n! # $ & 1 lim 1 + ('% " n 1 1 lim lim x!+0 x x"!0 x log x

More information

DPCK-US10

DPCK-US10 3-064-500-02(1) DPCK-US10 2000 Sony Corporation DPCK-US10 USB MGI PhotoSuite MGI PhotoSuite PhotoSuite V8.1 Windows ) VideoWave SE+ Windows PhotoSuite SE V1.1(Macintosh ) DPCK-US10 USB USB MGI PhotoSuite

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

untitled

untitled Fortran90 ( ) 17 12 29 1 Fortran90 Fortran90 FORTRAN77 Fortran90 1 Fortran90 module 1.1 Windows Windows UNIX Cygwin (http://www.cygwin.com) C\: Install Cygwin f77 emacs latex ps2eps dvips Fortran90 Intel

More information

( ) Shift JIS ( ) ASCII ASCII ( ) 8bit = 1 Byte JIS(Japan Industrial Standard) X 0201 (X ) 2 Byte JIS ISO-2022-JP, Shift JIS, EUC 1 Byte 2 By

( ) Shift JIS ( ) ASCII ASCII ( ) 8bit = 1 Byte JIS(Japan Industrial Standard) X 0201 (X ) 2 Byte JIS ISO-2022-JP, Shift JIS, EUC 1 Byte 2 By 23 3 ( ( (binary file) UNIX CUI 3.1 = + 2 bit ) ( 3.1) bit bit 1 Byte=8 bit 1 Byte ASCII, JIS X 0201 ASCII(American Standard Code for Information Interchange) 7bit (;) (:) ( ) (") ) 7bit ( ) 24 3 3.1 (

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

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

橡Webcamユーザーガイド03.PDF

橡Webcamユーザーガイド03.PDF Desktop On-Call Version 4 Webcam extension Pak for Windows Webcam extension Pak Desktop On-Call Version 4 Web PC i Desktop On-Call Version 4 PC PC Desktop On-Call Version 4 PC Windows 98 Windows 98SE Windows

More information

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved (Version: 2013/7/10) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in

C 2 / 21 1 y = x 1.1 lagrange.c 1 / Laglange / 2 #include <stdio.h> 3 #include <math.h> 4 int main() 5 { 6 float x[10], y[10]; 7 float xx, pn, p; 8 in C 1 / 21 C 2005 A * 1 2 1.1......................................... 2 1.2 *.......................................... 3 2 4 2.1.............................................. 4 2.2..............................................

More information

( ) ( ) ( ) 2

( ) ( ) ( ) 2 (Basic Theory of Information Processing) 1 1 1.1 - - ( ) ( ) ( ) 2 Engineering Transformation or ( ) Military Transformation ( ) ( ) ( ) HDTV 3 ( ) or ( ) 4 5.609 (TSUBAME2.5, 11 (2014.6)) IP ( ) ( ) (

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

卒 業 研 究 報 告.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

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

untitled

untitled IBM i IBM GUI 2 JAVA JAVA JAVA JAVA-COBOL JAVA JDBC CUI CUI COBOL DB2 3 1 3270 5250 HTML IBM HATS WebFacing 4 2 IBM CS Bridge XML Bridge 5 Eclipse RSE RPG 6 7 WEB/JAVA RPG WEB 8 EBCDIC EBCDIC PC ASCII

More information

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. このサンプルページの内容は, 新装版 1 刷発行時のものです.

C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます.  このサンプルページの内容は, 新装版 1 刷発行時のものです. C による数値計算法入門 ( 第 2 版 ) 新装版 サンプルページ この本の定価 判型などは, 以下の URL からご覧いただけます. http://www.morikita.co.jp/books/mid/009383 このサンプルページの内容は, 新装版 1 刷発行時のものです. i 2 22 2 13 ( ) 2 (1) ANSI (2) 2 (3) Web http://www.morikita.co.jp/books/mid/009383

More information

1 1.1 PC PC PC PC PC workstation PC hardsoft PC PC CPU 1 Gustavb, Wikimedia Commons.

1 1.1 PC PC PC PC PC workstation PC hardsoft PC PC CPU 1 Gustavb, Wikimedia Commons. 1 PC PC 1 PC PC 1 PC PC PC PC 1 1 1 1.1 PC PC PC PC PC workstation PC 1.1.1 hardsoft 1.1.2 PC PC 1.1 1 1. 2. 3. CPU 1 Gustavb, Wikimedia Commons.http://en.wikipedia.org/wiki/Image:Personal_computer,_exploded_5.svg

More information

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit)

1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit) GNU MP BNCpack tkouya@cs.sist.ac.jp 2002 9 20 ( ) Linux Conference 2002 1 1 (bit ) ( ) PC WS CPU IEEE754 standard ( 24bit) ( 53bit) 10 2 2 3 4 5768:9:; = %? @BADCEGFH-I:JLKNMNOQP R )TSVU!" # %$ & " #

More information

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology I117 8 1 School of Information Science, Japan Advanced Institute of Science and Technology : CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and

More information

joho09.ppt

joho09.ppt s M B e E s: (+ or -) M: B: (=2) e: E: ax 2 + bx + c = 0 y = ax 2 + bx + c x a, b y +/- [a, b] a, b y (a+b) / 2 1-2 1-3 x 1 A a, b y 1. 2. a, b 3. for Loop (b-a)/ 4. y=a*x*x + b*x + c 5. y==0.0 y (y2)

More information

untitled

untitled II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}

More information

C1-202 / F-101 originally from 2014 4 15 3 1 3 C1 2 C1-202 F 1 F-101 PC imac MacPro OS Mac OS X C WWW L A TEX 2 3 4 e-mail kyama@tut.jp C-506 6767 5 2 2.1 ID ID 2.2 2.3 2.4 2.4.1 1. imac MacPro 2. 3.

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

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java

2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java 1 Java Java 1.1 Java 1) 2) 3) Java OS Java 1.3 4) Java Web Start Web / 5) Java C C++ Java JSP(Java Server Pages) 1) OS 2) 3) 4) Java Write Once, Run Anywhere 5) Java Web Java 2 1 Web Java Android Java

More information

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

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

More information

Int Int 29 print Int fmt tostring 2 2 [19] ML ML [19] ML Emacs Standard ML M M ::= x c λx.m M M let x = M in M end (M) x c λx.

Int Int 29 print Int fmt tostring 2 2 [19] ML ML [19] ML Emacs Standard ML M M ::= x c λx.m M M let x = M in M end (M) x c λx. 1, 2 1 m110057@shibaura-it.ac.jp 2 sasano@sic.shibaura-it.ac.jp Eclipse Visual Studio ML Standard ML Emacs 1 ( IDE ) IDE C C++ Java IDE IDE IDE IDE Eclipse Java IDE Java Standard ML 1 print (Int. 1 Int

More information

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do (Version: 2017/4/18) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

listings-ext

listings-ext (6) Python (2) ( ) ohsaki@kwansei.ac.jp 5 Python (2) 1 5.1 (statement)........................... 1 5.2 (scope)......................... 11 5.3 (subroutine).................... 14 5 Python (2) Python 5.1

More information

Informatics 2014

Informatics 2014 C 計算機の歴史 手回し計算機 新旧のソロバン バベッジの階差機関 スパコン ENIAC (1946) パソコン 大型汎用計算機 電卓 現在のコンピュータ Input Output Device Central Processing Unit I/O CPU Memory OS (Operating System) OS Windows 78, Vista, XP Windows Mac OS X

More information

joho07-1.ppt

joho07-1.ppt 0xbffffc5c 0xbffffc60 xxxxxxxx xxxxxxxx 00001010 00000000 00000000 00000000 01100011 00000000 00000000 00000000 xxxxxxxx x y 2 func1 func2 double func1(double y) { y = y + 5.0; return y; } double func2(double*

More information

note.dvi

note.dvi 1 1 1.1,.,,.,.,, CPU LSI.,.,,, Nintendo64, PlayStation 1, 2.,,,,. 1.1.1,.,.,.,.,..,.,....... 1,, Nintendo64. PlayStation SONY Computer Entertainment. 2., CPU PlayStation2 SONY Computer Entertainment, Pentium3

More information

tutorial_lc.dvi

tutorial_lc.dvi 00 Linux v.s. RT Linux v.s. ART-Linux Linux RT-Linux ART-Linux Linux kumagai@emura.mech.tohoku.ac.jp 1 1.1 Linux Yes, No.,. OS., Yes. Linux,.,, Linux., Linux.,, Linux. Linux.,,. Linux,.,, 0..,. RT-Linux

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

新・明解Java入門

新・明解Java入門 537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,

More information

untitled

untitled IBM i IBM AS/400 Power Systems 63.8% CPU 19,516 43,690 25,072 2002 POWER4 2000 SOI 2005 2004 POWER5 2007 POWER6 2008 IBM i 2004 eserver i5 2000 eserver iseries e 2006 System i5 Systems Agenda 2008 Power

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

10/8 Finder,, 1 1. Finder MAC OS X 2. ( ) MAC OS X Java ( ) 3. MAC OS X Java ( ) / 10

10/8 Finder,, 1 1. Finder MAC OS X 2. ( ) MAC OS X Java ( ) 3. MAC OS X Java ( ) / 10 10/8 2015-10-08 URL : http://webct.kyushu-u.ac.jp, 10/8 1 / 10 10/8 Finder,, 1 1. Finder MAC OS X 2. ( ) MAC OS X Java ( ) 3. MAC OS X Java ( ) 1. 30 2 / 10 10/8 Finder 1 Figure : : Apple.com 2, 3 / 10

More information

thesis.dvi

thesis.dvi H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.

More information

I 2 tutimura/ I 2 p.1/??

I 2   tutimura/ I 2 p.1/?? I 2 tutimura@mist.i.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/ 2002 4 25 I 2 p.1/?? / / Makefile I 2 p.2/?? Makefile make GNU make I 2 p.3/?? Makefile L A T E X I 2 p.4/?? core (1) gcc,

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

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

ESMPRO/DeliveryManager

ESMPRO/DeliveryManager DeliveryManager Standard Edition [] (1) (2) (3) (4) (3) Microsoft MSMS-DOS Microsoft Windows Microsoft Corporation ESMPRO TM HP-UX Hewlett-Packard UNIX X/Open Motif Open Software Foundation,Inc. X Window

More information

ex12.dvi

ex12.dvi 1 0. C, char., char, 0,. C, ("),., char str[]="abc" ; str abc.,, str 4. str 3. char str[10]="abc" ;, str 10, str 3., char s[]="abc", t[10] ;, t = s. ASCII, 0x00 0x7F, char., "abc" 3, 1. 1 8 256, 2., 2

More information

Microsoft Word - Sample_CQS-Report_English_backslant.doc

Microsoft Word - Sample_CQS-Report_English_backslant.doc ***** Corporation ANSI C compiler test system System test report 2005/11/16 Japan Novel Corporation *****V43/NQP-DS-501-1 Contents Contents......2 1. Evaluated compiler......3 1.1. smp-compiler compiler...3

More information

DOPRI5.dvi

DOPRI5.dvi ODE DOPRI5 ( ) 16 3 31 Runge Kutta Dormand Prince 5(4) [1, pp. 178 179] DOPRI5 http://www.unige.ch/math/folks/hairer/software.html Fortran C C++ [3, pp.51 56] DOPRI5 C cprog.tar % tar xvf cprog.tar cprog/

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

¥×¥í¥°¥é¥ß¥ó¥°±é½¬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

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 September 2016 1 Windows Cygwin Mac *1 Emacs Ruby 1 1.1 ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 ~/16:00:20> ls 2 2 ls ls -a ~/16:00:20> ls -a

More information

n 第1章 章立ての部分は、書式(PC入門大見出し)を使います

n 第1章 章立ての部分は、書式(PC入門大見出し)を使います FORTRAN FORTRAN FORTRAN ) DO DO IF IF FORTRAN FORTRAN(FORmula TRANslator)1956 IBM FORTRAN IV FORTRAN77 Fortran90 FORTRAN77 FORTRAN FORTARN IF, DO C UNIX FORTRAN PASCAL COBOL PL/I BASIC Lisp PROLOG Lisp

More information

1

1 005 11 http://www.hyuki.com/girl/ http://www.hyuki.com/story/tetora.html http://www.hyuki.com/ Hiroshi Yuki c 005, All rights reserved. 1 1 3 (a + b)(a b) = a b (x + y)(x y) = x y a b x y a b x y 4 5 6

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 11 20 p.1/34 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

2017 p vs. TDGL 4 Metropolis Monte Carlo equation of continuity s( r, t) t + J( r, t) = 0 (79) J s flux (67) J (79) J( r, t) = k δf δs s( r,

2017 p vs. TDGL 4 Metropolis Monte Carlo equation of continuity s( r, t) t + J( r, t) = 0 (79) J s flux (67) J (79) J( r, t) = k δf δs s( r, 27 p. 47 7 7. vs. TDGL 4 Metropolis Monte Carlo equation of continuity s( r, t) t + J( r, t) = (79) J s flux (67) J (79) J( r, t) = k δf δs s( r, t) t = k δf δs (59) TDGL (8) (8) k s t = [ T s s 3 + ξ

More information

POWERCHR.backup.OMB

POWERCHR.backup.OMB PowerChrom Software Manual PowerChrom version 2.5 for Windows and Macintosh Computers 日本語解説書 PowerChrom www.edaq.jp ( 有 )ADInstruments ジャパン 本マニュアルは現時点での可能な限り正確な情報を記載しています 但し 記載されているソフトウエア およびハードウエアに関する事柄は将来変更される可能性があります

More information

Informatics 2010.key

Informatics 2010.key http://math.sci.hiroshima-u.ac.jp/ ~ryo/lectures/informatics2010/ 1 2 C ATM etc. etc. (Personal Computer) 3 4 Input Output Device Central Processing Unit I/O CPU Memory 5 6 (CPU),,... etc. C, Java, Fortran...

More information

EPSON EB-W9/X9/S9 User's Guide

EPSON EB-W9/X9/S9 User's Guide C77617000 q s g s p.89 [ ( ) ] [] ( ) ( ) - - ... 2... 7...7... 7 USB (USB)...7...7...7...7 /...7... 7... 8...8...8... 9 /...9...10...11 (EB-W9/X9)...11 (EB-S9)...12... 13 USB (USB)... 16... 16... 16...

More information

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................

More information

1. COBOL COBOL COBOL COBOL 2

1. COBOL COBOL COBOL COBOL 2 2003-6-24 COBOL COBOL 2002 ISO/IEC JTC 1/SC 22/WG 4 (COBOL) INCITS J4 (COBOL) SC 22/COBOL WG COBOL JIS 1 1. COBOL 2. 2002 COBOL 3. 2002 COBOL 4. 5. COBOL 2 1. COBOL 3 COBOL COBOL Java C C++ 200 100 100

More information

SQUFOF NTT Shanks SQUFOF SQUFOF Pentium III Pentium 4 SQUFOF 2.03 (Pentium 4 2.0GHz Willamette) N UBASIC 50 / 200 [

SQUFOF NTT Shanks SQUFOF SQUFOF Pentium III Pentium 4 SQUFOF 2.03 (Pentium 4 2.0GHz Willamette) N UBASIC 50 / 200 [ SQUFOF SQUFOF NTT 2003 2 17 16 60 Shanks SQUFOF SQUFOF Pentium III Pentium 4 SQUFOF 2.03 (Pentium 4 2.0GHz Willamette) 60 1 1.1 N 62 16 24 UBASIC 50 / 200 [ 01] 4 large prime 943 2 1 (%) 57 146 146 15

More information

book

book Bibliotheca21 Personal 3020-7-245-30 P-26D3-A114 Bibliotheca21 Personal 01-30 OS Windows 2000 Windows Server(R) 2003 Windows XP Windows Server(R) 2008 Windows Vista(R) Windows 7 Adobe Adobe Systems Incorporated

More information

DVD±R/RWユニットユーザーズマニュアル

DVD±R/RWユニットユーザーズマニュアル LDR-E4242AK_V01 INTERNAL ATAPI E-IDE DVD R/RW UNIT ATAPI DVD R/RW LDR-E4242AK DVD R/RW DVD R/RW DVD R/RW CD-ROM/DVD-ROM Windows Microsoft Corporation Pentium Celeron IntelB's STUDIO B's Recorder GOLD B's

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

4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2

4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2 Ziggi-HD USB www.ipevo.jp 4 Ziggi-HD 4 5 5 6 7 8 8 8 9 11 12 13 5 14 15 16 17 18 19 (EXP) 20 21 2 22 23 24 25 Ziggi-HD 26 28 29 Ziggi-HD Ziggi-HD Ziggi-HD 30 31 31 32 32 33 35 35 3 Ziggi-HD USB Ziggi-HD

More information

untitled

untitled Copyright 2008 IPAAll Rights Reserved 1 1. 2. 3. Copyright 2008 IPAAll Rights Reserved 2 IT IT IT Copyright 2008 IPAAll Rights Reserved http://www.jitec.jp/1_00topic/topic_20071225_shinseido.html 3 URL

More information

H02_ROM_ indd

H02_ROM_ indd CD E CD 16 1 Nul 00 2 Bel 07 3 BS 08 4 HT 09 5 LF 0A 6 VT 0B 7 FF 0C 8 CR 0D 9 1 DC1 11 10 3 DC3 13 11 CAN 18 12 SP 20 13 ESC 1 n 1 n 2 1B 25 31 n 1 n 2 14 ESC 2 n 1 n 2 1B 25 32 n 1 n 2 15 ESC 3 n 1 n

More information

Java学習教材

Java学習教材 Java 2016/4/17 Java 1 Java1 : 280 : (2010/1/29) ISBN-10: 4798120987 ISBN-13: 978-4798120980 2010/1/29 1 Java 1 Java Java Java class FirstExample { public static void main(string[] args) { System.out.println("

More information

00-COVER.P65

00-COVER.P65 AHA-2910C R AHA-2910C PCI-to-Fast SCSI 1998 Adaptec, Inc. All rights reserved. Adaptec, Inc., 691 South Milpitas Blvd., Milpitas, CA 95035 Adaptec Adaptec Adaptec AHA PhaseEngine SCSISelect Adaptec Adaptec

More information

解きながら学ぶC言語

解きながら学ぶC言語 printf 2-5 37 52 537 52 printf("%d\n", 5 + 37); 5370 source program source file.c ex00.c 0 comment %d d 0 decimal -2 -p.6 3-2 5 37 5 37-22 537 537-22 printf("537%d\n", 5-37); function function call ( )argument,

More information

Express5800/53Xg, Y53Xg インストレーションガイド(Windows編)

Express5800/53Xg, Y53Xg インストレーションガイド(Windows編) NEC Express Express5800 Express5800/53Xg, Y53Xg (Windows ) 1 Windows 2 2011 6 NEC Corporation 2011 DVD-ROM( ) DVD-ROM( ) PDF 1 2 3 4 ON,OFF BIOS PDF (Windows ) 1 Windows 2 Windows ESMPRO Universal RAID

More information

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co gnuplot 8 gnuplot 1 1.1 gnuplot gnuplot 2D 3D gnuplot ( ) gnuplot UNIX Windows Machintosh Excel gnuplot C 1.2 web gnuplot $ gnuplot gnuplot gnuplot> exit 1 1.3 2 gnuplot> set samples 1024 1024 gnuplot>

More information

スパコンに通じる並列プログラミングの基礎

スパコンに通じる並列プログラミングの基礎 2016.06.06 2016.06.06 1 / 60 2016.06.06 2 / 60 Windows, Mac Unix 0444-J 2016.06.06 3 / 60 Part I Unix GUI CUI: Unix, Windows, Mac OS Part II 0444-J 2016.06.06 4 / 60 ( : ) 6 6 ( ) 6 10 6 16 SX-ACE 6 17

More information

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello World");

3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println(Hello World); (Basic Theory of Information Processing) Java (eclipse ) Hello World! eclipse Java 1 3 Java 3.1 Hello World! Hello World public class HelloWorld { public static void main(string[] args) { System.out.println("Hello

More information

たのしいプログラミング Pythonではじめよう!

たのしいプログラミング Pythonではじめよう! Title of English-language original: Python for Kids A Playful Introduction to Programming ISBN 978-1-59327-407-8, published by No Starch Press, Inc. Copyright 2013 by Jason R. Briggs. Japanese-language

More information