Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!spinnews!spin-hsd0-tky!inet-tsb!tis2!hq10!news.hby.toshiba!news.tsurumi.toshiba!cilab.rdc.toshiba!isl.rdc.toshiba!tsb-wide!wnoc-sfc-news!wnoc-kyo-news!hakozaki.karrn!hakata!kudpc!sakunami!ayashi!kaneko
From: kaneko@ccedu.sendai-ct.ac.jp (Yutaka Kaneko)
Subject: Re: [Q]$B0E9f2=$NJ}K!(B
X-Nntp-Posting-Host: saikachi
Message-ID: <DMt17v.rM@ayashi.cc.sendai-ct.ac.jp>
Lines: 34
Sender: news@ayashi.cc.sendai-ct.ac.jp (SNCT NetNews Manager)
Organization: Sendai National College of Technology
X-Newsreader: mnews [version 1.18PL3] 1994-08/01(Mon)
References: <INETNEWS-1-4-3.01748@niftyserve.or.jp>
Date: Thu, 15 Feb 1996 06:40:42 GMT
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:2198
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=2198&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.

  $B6b;R!w@gBfEEGH$G$9!#(B


In article <INETNEWS-1-4-3.01748@niftyserve.or.jp>
VFE11064@niftyserve.or.jp writes:
>> $B=i$a$F%]%9%H$7$^$9!#%F%-%9%H%U%!%$%k$G$+$+$l$?$b$N$r0E9f2=$9$kJ}K!$G(B
>> $B0E9f2=@h$b%F%-%9%H%U%!%$%k$K$J$k4JC1$JJ}K!$C$F$"$j$^$9$+!)(B
>> $B!!(Bwhile((c = getchar() != EOF)
>> putchar((k + 0x7E -c) % 0x5F + 0x20);
>> $B$J$s$+$8$c$"$^$j$K$b4JC1$9$.$k$s$G!"$I$J$?$+$3$l$h$j$b>/$7$^$7$JJ}K!(B
>> $B$r$4B8$8$NJ}$,$$$l$P65$($F$/$@$5$$!#(B

  $B#C$N%i%$%V%i%j$K(Brandom()$BEy$,$"$l$P!"(B

    unsign int k;
    srandom(key);
    while((c = getchar() != EOF) {
k=random();
putchar((k + 0x7E -c) % 0x5F + 0x20);
    }
  
$B$H$G$b$9$k$H$+$J$j2r$-$K$/$/$J$k$O$:$G$9!#$?$@$7!"0E9f2=$9$k(B
$B7W;;5!$HJ?J82=$r$*$3$J$&7W;;5!$G(Brandom()$B$,@8@.$9$kMp?t7ONs$,(B
$B0[$J$C$F$$$k$HI|9f$G$-$^$;$s!#(B

  random()$B$N$+$o$j$KFH<+$N5<;wMp?tH/@8%k!<%A%s$r=q$-$=$N%=!<(B
$B%9%3!<%I$rHkL)$K$9$l$P$+$J$j0BA4@-$OA}$9$G$7$g$&!#(B

  $B$A$J$_$K(Bkey$B$OG$0U$N?t$G!"$3$NCM$,0E9f$N%-!<$K$J$j$^$9!#(B

main(i,j){j=time(0);do for(i /*      $B6b;R(B $BM5(B(Yutaka Kaneko)           */
=0;i<79;i++)printf(j%512>>4? /* Sendai National College of Technology */
" ":"*"),j=j*331+113;while(  /*    kaneko@cc.sendai-ct.ac.jp          */
printf("\n\033[H\033[1L"));} /* or kaneko@akiu.gw.tohoku.ac.jp        */
