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

Ö°¹¤¹¤×ʹÜÀíϵͳ£¨ÎҵĵÚÒ»¸öC³ÌÐò£©


#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
#include<windows.h>
#include<malloc.h>
#include<math.h>
typedef struct worker

 int num; //±àºÅ
 char name[15]; //ÐÕÃû
 char zhicheng[15]; //Ö°³Æ
 char zhiwu[15]; //Ö°Îñ
 double salary;  //»ù±¾¹¤×Ê
 struct worker *next; //ºó¼ÌÖ¸Õë
 struct worker *prior; //ǰÇýÖ¸Õë
}Node,*Link;
#define LEN sizeof(struct worker)
Link head=NULL,tail=NULL;  //È«¾Ö±äÁ¿
/*²Ëµ¥º¯Êý*/
int menu_select()
{
 int temp;
 system("cls");
 printf("\t(*^__^*)                                       (*^__^*)\n");
 printf("\t          »¶Ó­Ê¹ÓÃÓɵç×Ó0911Áõ¾üͬѧ±àдµÄ³ÌÐò         \n\n");
 printf("\t======================================================\n\n");
 printf("\t¡ù\t**********Ö°¹¤¹¤×ÊÐÅÏ¢¹ÜÀíϵͳ********       ¡ù\n");
 printf("\t  ¡ù                                               ¡ù\n");
 printf("\t¡ù      ¡î1.ÐÅϢ¼Èë              ¡î2.²åÈë³ÉÔ±       ¡ù\n");
 printf("\t  ¡ù                                &nbs


Ïà¹ØÎĵµ£º

extern cµÄ×÷ÓÃ

extern cµÄ×÷Óá¾×ª¡¿
2009-12-18 13:10
1.ÒýÑÔ
C++ÓïÑԵĴ´½¨³õÖÔÊÇ“a better C”£¬µ«ÊÇÕâ²¢²»Òâζ×ÅC++ÖÐÀàËÆCÓïÑÔµÄÈ«¾Ö±äÁ¿ºÍº¯ÊýËù²ÉÓõıàÒëºÍÁ¬½Ó·½Ê½ÓëCÓïÑÔÍêÈ«Ïàͬ¡£×÷ΪһÖÖÓûÓëC¼æÈݵÄÓïÑÔ£¬C++±£ÁôÁËÒ»²¿·Ö¹ý³Ì ʽÓïÑÔµÄÌØµã£¨±»ÊÀÈ˳ÆÎª“²»³¹µ×µØÃæÏò¶ÔÏ󔣩£¬Òò¶øËü¿ÉÒÔ¶¨Òå²»ÊôÓ ......

c²Ù×÷·­×ª×Ö·û´®


#include<stdio.h>
#include<malloc.h>
#include<string.h>
/*
* ·­×ª
*/
char *mystrrev(char *arr)
{
if (!arr)
{
return NULL;
}
char *temp = arr;
char t;
int leng = strlen(arr) + 1;
int l = (int)(leng / 2);
int i = 0;
while (l--)
{
t = arr[i];
arr[ ......

C/C++ÃæÊÔÌâÁù£¨¾­µä) ¡¾×ª¡¿

1.ÇóÏÂÃæº¯ÊýµÄ·µ»ØÖµ£¨Î¢Èí£©
int func(x)
{
    int countx = 0;
    while(x)
    {
          countx ++;
          x = x&(x-1);
     } ......

C/C++ÖÐtypedefµÄÓ÷¨£¬¸æËßÄã²»Ò»ÑùµÄtypedef


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ