Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!nupm!citsvr1.cit.nihon-u.ac.jp!math!nekoma
From: nekoma@math.cit.nihon-u.ac.jp (Fukuda Takashi)
Subject: Re: K&R 2nd in Japanese (Re: pointer & asm-language)
Message-ID: <NEKOMA.94Nov25001438@math.cit.nihon-u.ac.jp>
Organization: College of Industrial Technology, Nihon Univ., Narashino
References: <NEKOMA.94Nov24101953@math.cit.nihon-u.ac.jp>
	<3b15ih$2dh@csdnews.sm.sony.co.jp>
Date: Thu, 24 Nov 1994 15:14:38 GMT
Lines: 104
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:1716
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=1716&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B86=q$r@53N$KLu$9$N$OLu<T$N%^%J!<$G$"$k!"$=$&$7$J$1$l$PCx<T$K(B
$B<:Ni$@!"$H$$$&4QE@$+$i:dK\$5$s$O6D$C$F$$$k$N$G$9$+!#$=$&$J$i(B
$BH?O@$O$7$^$;$s!#(B

In article <3b15ih$2dh@csdnews.sm.sony.co.jp>
sakamoto@sm.sony.co.jp writes:
>$B!V<0!W$H!VJ8!W$N6hJL$O!"K\<AE*$J;vJA$G$9!#(B

$B$=$&$G$"$k$H$b!"$=$&$G$J$$$H$b!"8@$($^$9!#A0<T$OL@$i$+$@$+$i!"(B
$B8e<T$K$D$$$F!#(B

>$B!Z(BK&R 2 pp.16-17$B![(B
>In C, any assignment, such as
>c = getchar()
>is an expression and has a value, which is the value of the
>left hand side after the assignment.  This means that an
>assignment can appear as part of a larger expression.

$B$3$NLu$H$7$F$O(B

>$B!ZLu=qD{@5HG(B pp.20-21$B![(B
>$B#C$G$O(B,
>c = getchar()
>$B$H$$$C$?G$0U$NBeF~J8$O<0$G$"$j(B, $BCM$r$b$D!#$3$NCM$O(B, $BBeF~8e$N:8(B
>$BJU$NCM$G$"$k!#(B

$B$NJ}$,@53N$G$9!#$7$+$7!"(B

>$B!ZLu=q(B pp.20-21$B![(B
>$B#C$G$O(B,
>c = getchar()
>$B$H$$$C$?G$0U$NBeF~J8$O(B, $B<0$NCf$K=q$1$k!#$=$NCM$O(B, $BC1$K:8JU$KBe(B
>$BF~$5$l$kCM$G$"$k!#(B

$B$K$h$j!"FI<T$O8m2r$7$^$9$+!)$9$08e$K%W%m%0%i%`Nc$,$"$k$N$@$+$i!"(B
$BCx<T$N0U?^$O@53N$KEA$o$j$^$9!#(BThis means ... $B$,$"$C$F$b$J$/$F$b(B
$BF1$8$G$9!#$3$N=j0Y$G$*$+$7$J%W%m%0%i%`$r=q$/$3$H$O$"$j$($^$;$s!#(B

$B3X=,$K1F6A$,$J$1$l$P!"K\<AE*$G$O$J$$$G$7$g$&!#(B

$B?M$OLOJo$K$h$j!V8@8l!W$r=,F@$9$k$b$N$G$9!#@53N$JJ8K!CN<1$@$1$G$O(B
$B%W%m%0%i%`$O=q$1$^$;$s!#=i3X<T$KI,MW$J$N$O!"@53N$JMQ8l$G$O$J$/!"(B
$BE,@Z$JNcBj$G$9!#E,@Z$JNcBj$O@53N$JM}2r$rF3$-$^$9!#(B

>$B!Z(BK&R 2 p.70$B![(B 
>A do-nothing function like this is sometimes useful as place
>holder during program development.  If the return type is
>omitted, int is assumed.
>   A program is just a set of definitions of variables and
>functions.  Communication between the functions is by
>arguments and values returned by the functions, and through
>external variables.
>
>$B!ZLu=q!"Lu=qD{@5HG(B p.85$B![(B
>$B$3$&$7$?2?$b$7$J$$4X?t$O(B, $B%W%m%0%i%`3+H/Cf$K>l=j$N3NJ]$r$9$k$N(B
>$B$KM-MQ$J$3$H$,$"$k!#(B
>  $B0l$D$N%W%m%0%i%`$G$O(B, $B4X?t4V$N$d$j<h$j$O!"0z?t$H4X?t$+$i$NLa(B
>$B$jCM$H30ItJQ?t$rDL$7$F9T$o$l$k!#(B

$B$I$NItJ,$NLu$7K:$l$,LdBj$J$N$G$9$+!#Bh#2HG$K4X$7$F$O!V8mLu!W$N(B
$BJ}$,9%$-$G$9!#(B

>$B!Z(BK&R 2 p.52$B![(B 
>Chapter 5 discusses * (indirection through a pointer) and &
>(address of an object), and Chapter 3 discusses the comma
>operator.
>
>$B!ZLu=q!"Lu=qD{@5HG(B p.65$B![(B
>*($B%]%$%s%?$rDL$7$?4V@\;XDj(B)$B$H(B &($B%*%V%8%'%/%H$N%"%I%l%9(B)$B$K$D$$(B
>$B$F$O(B, $BBh#5>O$G=R$Y$k!#(B

$B$3$l$3$l$OBh2?>O$G=R$Y$k!"$H=q$+$l$F$$$F$b!";d$O!"FI$_Ht$P$7$^$9!#(B
$B5-21$K$O;D$7$^$;$s!#I,MW$J$$$G$9$+$i!#(B

>$B!Z(BK&R 2 p.100$B![(B 
>So as far as f is concerned, the fact that the parameter
>refers to part of a larger array is of no consequence.
>   If one is sure that the elements exist, it is also
>possible to index backwards in an array; p[-1], p[-2], and so
>on are syntactically legal, and refer to the elements that
>immedeiately precede p[0].  Of course, it is illegal to refer
>to objects that are not within the array bounds.
>
>$B!ZLu=q!"Lu=qD{@5HG(B p.122$B![(B
>f $B$K4X$9$k8B$j(B, $B0z?t$,Bg$-$JG[Ns$N0lIt$r<B:]$K;X$9$H$$$&;v$K$H(B
>$B$/$K0UL#$O$J$$!#(B

$B8eH>$NLu$7K:$l$,LdBj$J$N$G$9$+!#$3$NItJ,$,$"$k$3$H$r;d$OCN$j$^$;$s(B
$B$G$7$?!#$7$+$7!":#=i$a$F8+$k$3$NJ8>O$K$h$C$F!";d$O2?$b?7$7$$CN8+$r(B
$BF@$k$3$H$,$G$-$^$;$s!#(B

>$BC5$;$P!"$^$@$^$@$"$k$3$H$G$7$g$&!#(B

$BM}2r$7Fq$$=j$d8m2r$N2DG=@-$,$"$kItJ,$r<($7$FD:$1$l$P9,$$$G$9!#(B

>$B86=q$,$H$F$b$$$$$+$i!"Lu$,$R$I$/$F$bM-1W$JK\$H$7$F@.$jN)$C$F$$$k$o$1$G(B

$B$=$&$@$H;W$$$^$9!#(B

>$B$9!#$G$b!"86=q$NNI$5$r<j7Z$KL#$o$($J$$$H$$$&$N$O!";DG0$J$3$H$G$9!#(B

$B$R$I$$Lu$G$"$C$F$b!"F|K\8l$N$*$+$2$G!"<j7Z$KL#$o$($k$H;W$&$N$G$9$,!#(B
---
$BJ!EDN4!wF|K\Bg3X@8;:9)3XIt(B
