From: logic@mtak.bsj.com (Masami Takikawa)
Newsgroups: fj.lang.c,fj.comp.oops
Subject: Re: object-oriented programming with C++ (Re: [book] on C++ without supposing C)
Date: 22 Nov 92 23:53:08 GMT
	<HOKIMOTO.92Nov22221745@is17e0s09.jaist-east.ac.jp>
Reply-To: logic@mtak.bsj.com (Masami Takikawa)
Distribution: fj
Organization: The Takikawa, Corvallis, Oregon, U.S.A.
Posting-Front-End: Terakoya-u kaku 2.04 March 31, 1990

$B$3$s$K$A$O!"Bl@n$G$9!#(J

In article <HOKIMOTO.92Nov22221745@is17e0s09.jaist-east.ac.jp>
	hokimoto@jaist-east.ac.jp (Akihiro Hokimoto) writes:
>$BM}2rITB-$N$?$a$KBgJQ$J8fLBOG$r$*$+$1$$$?$7$^$7$?!#(J

$B$=$s$J$3$H$O$J$$$G$9$h!#$_$s$JJY6/$7$?$/$F%K%e!<%:$rFI$s$G$$(J
$B$k$s$G$9$+$i!#JY6/ITB-$O$*8_$$MM$G$7$g$&!#(J


>$B;d<+?H$,>/!9:.Mp$7$F$$$?$h$&$J$N$G(J follow $B$N$J$+$C$?(J
>$B5-;v$r(J cancel $B$5$;$F$$$?$@$-$^$7$?!#(J

$B$(!"%-%c%s%;%k$^$G$7$J$/$F$b(J...

$B$[$-$b$H$5$s$K$O!"$[$-$b$H$5$s$J$j$N(J OOP $B$KBP$9$k$3$@$o$j$,(J
$B$"$k$C$F$$$&$3$H$G$9$h$M!#2?$+$K$3$@$o$C$?$j!"$=$l$rI=L@$7$?(J
$B$j$9$k$N$O$$$$;v$@$H;W$$$^$9!#?M$N$3$@$o$j$rCN$k$N$O$H$F$b3Z(J
$B$7$$$7!#(J


>  1. message passing $B$G$"$k$H$O$I$N$h$&$J$3$H$G$9$+!)(J

OOP $B$N@$3&$G$O!"$"$k(J object $B$K(J message $B$rAw$k$3$H$G$7$g$&$M!#(J
$B$3$N;~!"$I$s$J(J method $B$,5/F0$5$l$k$+$O!"Aj<j$N(J object $B$H(J message
selector $B$NN>J}$K$h$C$F!J;~$K$O0z?t$N?t$d7?$b9M$($F!K7h$^$j$^$9!#(J


>       $BFHN)$7$?<BBN$N4V$G(J message $B$N(J send, receive $B$H$O!"(J
>     sender $B$d(J receiver $B$N$b$D(J memory $B$H$O0[$J$k(J memory 
>     $B$K(J message $B$,=q$-9~$^$l$^$l!"(Jsend $B$5$l$?(J message $B$,(J 
>     sender $B$+$i(J receiver $B$K0\F0$9$k$H9M$($F$$$^$9!#(J

memory $B$r4V$K2p$9$k$+$I$&$+$O!"K\<A$H$O4X78$J$$$H;W$$$^$9!#(J


>  2. RPC (remote procedure call) $B$O!"(Jmessage passing $B$G$9$+!)(J
>
>       send & receive $B$K$h$C$F(J message $BEAC#$r9T$J$C$F$$$k(J
>     $B$N$G(J message passing $B$G$"$k$H9M$($F$$$^$9!#(J

RPC $B$C$FC1$K!"(Jfunction call $B$N08$F@h$,(J remote node $B$K$"$k$C$F(J
$B$$$&$@$1$G$9$h$M!#(Jfunction call $B$,D>Ns(J OOP $B$N<B8=$K;H$o$l$F$$(J
$B$k$N$HF1$8$h$&$K!"(JRPC $B$bJ,;6(J OOP $B$N<B8=$K;H$o$l$k$H$$$&$@$1$@(J
$B$H;W$$$^$9!#(Jfunction call $B$,I,$:85$N=j$XJV$k;v$rLdBj$K$7$F$$(J
$B$^$7$?$,!"(JRPC $B$bI,$:85$N=j$X7k2L$rJV$7$^$;$s$+!)(J


>  3. C++ $B$N(J member function call $B$O(J message passing $B$G$9$+!)(J
>    
>       $BD>@\Aj<j$N(J member function $B$r(J call $B$7$F$$$k$N$G(J
>     message passing $B$G$O$J$$$H9M$($^$9!#(J

$B!VD>@\!W$H8@$&$N$,!"0z$C3]$+$j$^$9$,!"<B8=$r9M$($k$H!"C1$J$k(J
function call $B$G<B8=$5$l$F$$$k$N$O;v<B$G$7$g$&!#$G$b!"<B8=$K(J
$B$3$@$o$C$F$b!"$7$g$&$,$J$$$H;W$$$^$9!#(J

OOP $B$K$H$C$F!"(Jmessage passing $B$+$I$&$+9M$($k;~$O!"(Jmethod $B$NA*(J
$BBr$,!"<u$1<h$k(J object $B$H(J message selector $B$NN>J}$K$h$C$F$$$k$+(J
$B$r8+$k$Y$-$@$H;W$$$^$9!#$3$N0UL#$G!"(JC++ $B$N(J member function call
$B$b(J message passing $B$G$9!#(Jvirtual method $B$N>l9g!"%W%m%0%i%`$r8+(J
$B$?$@$1$G$O!"$I$N(J method $B$,<B:]$K8F$P$l$k$N$+!"$o$+$i$J$$$G$7$g(J
$B$&!)(J


>  4. C $B$N(J fanction call $B$O(J message passing $B$G$9$+!)(J

OOP $BE*$J0UL#$N(J message passing $B$G$O$J$$$G$9$M!#(Jdata $B$r%+%W%;%k(J
$B2=$7$?(J object $B$,$J$$$N$O$b$A$m$s!"(JC $B$N(J function call $B$OL>A0$@$1(J
$B$G!"$I$s$J(J function $B$,8F$P$l$k$N$+7h$^$k$N$G$9$+$i!J%]%$%s%?4V(J
$B@\$O=|$/!K!#(J

$B$b$A$m$s!"(JC++ $B$O(J C $B$G<B8=$5$l$F$$$^$9$h!#$G$9$+$i!"<B8=$K$3$@(J
$B$o$k$Y$-$G$O$J$$$H;W$$$^$9!#(Jobject $B$H$$$&$N$,!"C1$K(J structure
$B$N$h$&$J$b$N$G<B8=$G$-$k$N$HF1MM$K!"(Jmessage passing $B$b(J function
call $B$G<B8=$G$-$k$@$1$@$H;W$$$^$9!#(J


>  5. $B$b$7!"(JC $B$,(J message passing $B$G$J$$$N$G$"$l$P!"(JRPC $B$H$N0c(J
>     $B$$$O2?$G$9$+!)(J

$B8F$P$l$k(J routine $B$,(J remote $B$K$"$k$+$I$&$+$@$1$N0c$$$@$H;W$C$F(J
$B$$$k$N$G$9$,!"0c$$$^$9$+!)(J
--
$B$?$-$+$o!w$*$l$4$s(J