Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C ²Â×ÖÓÎÏ·£¨Ìí¼Ó¹¦ÄÜ£© - C/C++ / CÓïÑÔ



VC++6.0±àÒëÆ÷ 

1.¿ÉÑ¡Ôñ²Â¶à¸öÊý×ֵIJÂÊý×ÖÓÎÏ·---²»µ«¿ÉÒÔÑ¡Ôñ²Âƽ³£µÄ4¸öÊý×Ö£¬¶øÇÒ»¹¿ÉÒÔÑ¡Ôñ3¸öºÍ6¸öÊý×Ö£¬
  ¼´¿ÉÒÔÑ¡ÔñÓÎÏ·µÄÄѶÈ.

 2.³ÌÐòÔËÐУ¬ÊäÈënewºó³ÌÐòÏÈÊÇÅжÏÊäÈëÊÇ·ñÕýÈ·£¬È»ºó²ÅÖØпªÊ¼ÓÎÏ·£¬Õâ¸öÎÊÌâÈçºÎ½â¾ö
 
 3.»¹ÄÜÌí¼Óʲô¼òµ¥µãµÄ¹¦ÄÜ

#include<string.h>
#include <stdlib.h> /*±ê×¼¹¤¾ß¿â£¬ÒªÓõ½ÆäÖеÄrand()*/
#include <stdio.h> 
#include<conio.h> 
#include <time.h> /*ʱ¼ä¿â£¬ÒªÓõ½ÀïÃæµÄʱ¼äÀ´×öËæ»úÊýµÄÖÖ×Ó*/ 

char *produce() /*²úÉúÒ»¸öËæ»ú4λÊý*/

int i,j,r,sz[10]={0,1,2,3,4,5,6,7,8,9},s=0;
char *cx;
cx=(char *)malloc(5);
srand(time(NULL)); 
for(i=0;i<4;i++) 
{
r=rand()%(10-i);
s*=10;
s=s+sz[r];
for(j=r;j<10;j++)
sz[j]=sz[j+1];
}
sprintf(cx,"%d",s);
if(s<1000)/*µÚһλÊÇ0µÄÇé¿ö*/
{
{for(i=3;i;i--)
cx[i]=cx[i-1];}
cx[0]='0';
}
return(cx);


main()
{
int n,nx=3,m,k=0,x=0,y=0;/*nΪ¼ÆÊýÆ÷£¬nxΪ×î´ó´ÎÊý£¬kÓÃÀ´ÅжÏÊäÈëÊÇ·ñÕýÈ·*/
char c[5],a[5],b1[5]="show",b2[5]="ask",b3[5]="new";

strcpy(a,produce());
printf("\t\t===²ÂÊý×ÖÓÎÏ·===\nÓÎÏ·¹æÔò£ºËæ»ú²úÉú4¸öÊý×Ö£¬ÓÉÍæ¼ÒÊäÈë4¸ö²»Öظ´µÄÊý×Ö£¨È磺8312£©°´»Ø³µºóµçÄÔ¸ø³öÌáʾ£¬ÆäÐÎʽΪ?A?B.ÄãËùÊäÈëµÄËÄλÊýÖУ¬Î»ÖúÍÊý×Ö¶¼ÕýÈ·Ô


Ïà¹ØÎÊ´ð£º

C/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý - C/C++ / C++ ÓïÑÔ

´ó¼ÒºÃ£º
ÎÒÏëʵÏÖ¼ì²âµ½²åÈëSD¿¨ºó×Ô¶¯½«SD¿¨¸ñʽ»¯µÄ¹¦ÄÜ£¬²»ÖªC/C++ÖÐÓÐûÓиñʽ»¯UÅ̵ĺ¯Êý£¿
ÁíÍ⣬ÎÒ²»ÏëʹÓÃSHFormatDrive£¬ÒòΪÕâ¸öº¯Êý»áµ¯³öÊÇ·ñÒª¸ñʽ»¯µÄÌáʾ¿ò£¬ÎÒÐèÒªµÄÊÇϵͳ×Ô¶¯¸ñʽ»¯£¬¶ø²Ù×÷Õß² ......

Ϊʲôxml²»ÄÜÏÔʾ°¢À­²®ÎÄ - C/C++ / C++ ÓïÑÔ

ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À­²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎĶ¼¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À­²®ÎĵÄ×Ö¿âÄãÓÐô£¿

ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......

c# Winform ´¥ÃþÆÁ³ÌÐò - .NET¼¼Êõ / C#

¹«Ë¾¿ª·¢Ò»¸ö´¥ÃþÆÁ³ÌÐò£¬ÎÒ¸ºÔðµÄÒ»¿é£¬ÊµÏÖÕâÑùÒ»¸ö¹¦ÄÜ£¬µ±Êó±êµã»÷´°¿ÚÖÐͼƬ£¨Ò»ÕÅͼ·Ö³É¼¸²¿·Ö£©µÄÆäÖÐÒ»²¿·Öʱ£¬½«Õⲿ·ÖͼƬ½ØÈ¡³öÀ´£¬µ¯³öеĴ°¿Ú£¬½«½ØÈ¡³öµÄͼƬÏÔʾ³öÀ´¡£ÎÒʹÓÃRectangeÀà¿ØÖÆÁË·µ»Ø£¬ ......

c/sºÍb/sÖ®¼äÔõôͨѶ. - Java / Web ¿ª·¢

ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾­ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾ­Ìá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......

CÖÐÈçºÎÅжÏdoubleÐÍÊý×éΪ¿Õ - C/C++ / CÓïÑÔ

[align=center][/align]CÓïÑÔÖÐÈçºÎÅжÏÒ»¸ödoubleÐ͵ÄÊý×飨Èçdouble S[20]£»£©ÊÇÒ»¸ö¿ÕÊý×飬¼´Êý×éÖÐûÓзÅÈκÎÖµ¡£
û°ì·¨¡£

"ÈκÎÖµ" µÄ¶¨Òå?

¾ÍÊÇÊý×éÊǿյģ¬Ã»ÓÐΪËü¸³Öµ

¿ÉÒÔ¿¼Â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ