Title:
1?10? ?????
ァ3.3 ???????
- ????????????????????????
- ?????????????????
- HTML?CGI??????????????
- ????????????????????
- C??????????????????
- ????????p????????????????
2?????(Compiler)
3??????
CPU
?? BASIC LISP LOGO Perl HTML Python Ruby
4HTML(Hyper Text Markup Language) ? Perl(Practical
Extraction and Report Language)
HELLO03
ltHTMLgtltHEADgtltTITLEgt????????lt/TITLEgtlt/HEADgt ltBODYgt
ltH3gt???????????????lt/H3gt ltFORM METHODPOST
ACTION./cgi-bin/cgi-hello03.plgt ??(????)gt ltINPUT
TYPETEXT NAME"yourname"gt ltINPUT TYPE"submit"
VALUE"??"gt lt/FORMgtlt/BODYgt lt/HTMLgt
5! /usr/local/bin/perl 1
??????????yourname????????? read
(STDIN,in,ENV舛ONTENT_LENGTH筑)
?????? (parameter,name) split //, in
????? print "Content-type text/htmlnn" print
"ltHTMLgtltBODYgt" print "??????name??" print
"lt/BODYgtlt/HTMLgt" __END__
6?????????
??????
??Web???
??????
?????????
7???????
1.??? ??????????????? 2.??? ???? 3.??
????????? 4.?? ifthenelse?case 5.????
doenddo?whilewend?for 6.??
??????????????????????? 7. ??????(subroutine) 8.
??キ?? read?input?print
8???????(C??)
includeltstdio.hgt main() int i
/ ????????????,i????? / i 1 2 3 4
5 / i ?12345??? /
printf("Kekka 2dn",i) / 2d????2?????????????
/
ex1.c
9??1??????????????
?????? 1.????N???? 2.n?????S??? 3.n1???S1 4.n2
???SS2 キ キ 5.nN???SSN
??????(???) C??????
10(No Transcript)
11???????(BASIC)
10 REM SUM 1 TO N 20