Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

½Ð°Ýc++ªº¶Ã¼Æ¿ï¨ú:)

0 views
Skip to first unread message

fabulous!

unread,
Apr 12, 2002, 10:31:56 PM4/12/02
to
//a_max.cpp
#include<iostream.h>
#include<stdlib.h>
#include<conio.h>
#include <time.h>//include this
// ^^^^^^^^
const int N=100;
int main(void)
{ int r[N],i;
/*int */randomize();
for(i=0;i<N;i++)
{ *(r+i) =/*int*/ random(100);
cout<<"(r+"<<i<<")="<<*(r+i)<<endl;
}
getch();
return(0);
}//using turbo c 3.0
---------------------------------
a person who is getting learning C++

--
[1;32m※ Origin: [33m克萊恩大地 [37m<Terry.Dragon2.Net> [m
[1;31m◆ From: [36mjenallen.Dorm9.NCTU.edu.tw [m

0 new messages