´ó¸ç´ó½ã£¬°ïÎÒÉèÖÃÒ»ÏÂÀïÃæµÄÖÐÎÄ×ÖÌ壬ҪÔÚͶӰÆÁÄ»ÉÏ¿´µÄÇå³þµÄ
#include<stdio.h>
#include<time.h>
#include<stdlib.h>
#include<conio.h>
main()
{
int a[30]={-200,-199,-197,-196,-189,-157,-147,-132,-110,-104,-96,-60,-33,
15,17,70,71,74,110,135,136,178,207,208,228,241,243,256,260,281};
int b;
int c;
int y;
int x;
while(1)
{
printf("\n\n\t\t\tÖ÷ÄÚÆ½°²£¡ ÓÐÒÔÏÂÊ«¸è¹©ÄãÑ¡Ôñ£º\n\n\t\t\t1.±È½Ï¼òµ¥µÄ30Ê×Ê«¸èÖÐѡһÊ×£¬µÃ·Ö5--15
\n\t\t\t2.Õû±¾Ñ¡±¾Ê«¸èÖÐѡһÊ×£¬µÃ·Ö£º20--40\n\t\t\t
3.ËùÓÐÑ¡±¾¸½Â¼Ê«¸èÖÐѡһÊ×£¬µÃ·Ö£º10--30");
x=1;
printf("\n\n\n\t\t please input a number between 1 to 3 ");
scanf("%d",&y);
if(y==1)
{
while(x)
{
srand((int)time(NULL));
b=rand()%30;
printf("\n\n\n\n\n\t\t\t ËùÒª³ªµÄÊ«¸èÊÇ%dÊ×\n\n\n",a[b]);
srand((int)time(NULL));
c=rand()%101;
if(c>=0&&c<=50)
printf("\n\n\n\n\t\t\t µÃ·Ö£º5·Ö\n\n\n");
else if(c>50&&c<=90)
printf("\n\n\n\n\t\t\t µÃ·Ö£º10·Ö\n
ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎͼ¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À²®ÎĵÄ×Ö¿âÄãÓÐô£¿
ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......
visual c++2008Ëٳɰ棬²»ÄܱàÒëC³ÌÐòÂð£¿Èç¹ûÄÜÊÇÔõô¿ªÊ¼µÄ°¡£¿ÓÃËü´øµÄÃüÁîÌáʾµ¥Ôª³ýÍâ ¡£
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆÌ¨£©
¾ø¶Ô¿ÉÒÔ¡£½¨Á¢win32¿ØÖÆÌ¨³ÌÐò¾Í¿ÉÒÔ
ÒýÓÃ
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆÌ¨£ ......