Newsgroups: fj.lang.c
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!sinfony-news01!news.kddnet.ad.jp!news.dvlp.kddnet.ad.jp!news.cs.ritsumei.ac.jp!odins-suita!chiba-ns!sakunami!ayashi!kaneko
From: kaneko@ccedu.sendai-ct.ac.jp (Yutaka Kaneko)
Subject: Re: struct array
X-Nntp-Posting-Host: saikachi
Message-ID: <E931u0.Grr@ayashi.cc.sendai-ct.ac.jp>
Lines: 25
Sender: news@ayashi.cc.sendai-ct.ac.jp (SNCT NetNews Manager)
X-Nsubject: Re: $B9=B$BN$NG[Ns(B
Organization: Sendai National College of Technology
X-Newsreader: mnews [version 1.18PL3] 1994-08/01(Mon)
References: <5jk9r7$t1t$1@newsserv.isc.osakac.ac.jp>
Date: Wed, 23 Apr 1997 08:49:11 GMT
Xref: galaxy.trc.rwcp.or.jp fj.lang.c:3962
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.c&nb=3962&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 <5jk9r7$t1t$1@newsserv.isc.osakac.ac.jp>
toru@tiger.kimlab.osakac.ac.jp writes:
>> $B8E@n5|$H?=$7$^$9!#(B

>> $B9=B$BN7?$NG[Ns$rF0E*$K3d$jEv$FJ}K!$,J,$+$j$^$;$s!#(B
>> malloc$B$d(Bcalloc$B$O9=B$BN7?$NG[Ns$K$OMQ$$$k$3$H$,$G$G$-$J$$$N$G$7$g$&$+!#(B
>> $B$=$l$H$b2?$+JL$NJ}K!$G<B8=$9$k$N$G$9$+!#!!(B


    #define N 100
    struct hoge {
int a; char c; double d;
    };
    struct hoge *p;

    p = (struct hoge *)malloc(sizeof(struct hoge) * N);

$B$G$@$a$G$9$+!)(B

double x,y,z=1.8;main(a,b){x=(time( /*       $B6b;R(B $BM5(B(Yutaka Kaneko)          */
0)%935)/472;while(!0){y=x;x=2-z*(x- /* Sendai National College of Technology */
1)*(x-1);a=(x*631);a%=78;b=(y*95);b /*     kaneko@cc.sendai-ct.ac.jp         */
%=24;printf("\033[%d;%dHx\n",b,a);}}/*Evanx08,Megax05,Escax07,Fushx16,WedPx07*/
