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

Îļþ¶ÁдÎÊÌâ c¸ßÊÖÇë½ø

ÏÂÃæÊÇÎҵĴúÂë ´ÓÄÚ´æÐ´ÈëÎļþÕýÈ· µ«´ÓÎļþ¶ÁÈëÄÚ´æ¶¼ÊÇÂÒÂë ¶øÇÒ³ÌÐò±ÀÀ£ Çëc¸ßÊÖÖ¸µã
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct inf
{
      char name[10];
      char address[20];
      long number;
      long telnumber;
      struct inf *next;
};
struct inf *input(struct inf *head)
{
      struct inf *p,*q;
      int i,population;
      if(head!=NULL)
      {
        p=q=head;
        while(p!=NULL)
        {
        q=p;
        p=p->next;
        }
      }
      printf("ÇëÊäÈëÒªÊäÈëµÄÈËÊý!\n");
      scanf("%d",&population);
      for(i=0;i <population;i++)
      {
          p=(struct inf *)malloc(sizeof(struct inf));
          printf("ÐÕÃû: ");
          scanf("%s",p->name);
          printf("ͨѶµØÖ·: ");
&


Ïà¹ØÎÊ´ð£º

Ò»¸ö¼òµ¥µÄcÓÎÏ·

13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔ­À´µÄÐòºÅ
½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈ˰ï¸ÄÒ»ÏÂ
#include <stdio.h>
#include < ......

Õâ¸öÊÇʲôÒâ˼£¬unsigned int c:2, d:1;

struct s1 {
char ch, *ptr;
union {
short a, b;
unsigned int c:2, d:1;
}
struct s1 *next;
};


Ö÷Òª¿´²»¶®·ûºÅ¡¡:

Çë´ïÈËÖ¸µãÒ»¶þ
http://blog.cechina.cn/true ......

ue±à¼­cÎļþÔÚunixÏÂÏÔʾ»»ÐзûÎÊÌâ

ÔËÐл·¾³ÊÇunix£¬ÎÒÓÃueÒÔftp·½Ê½Á¬µ½unixÉÏ£¬È»ºóÔÚueÖбàдc³ÌÐò£¬µ«ÔÚunixÏÂÓÃvi¿´³ÌÐòʱ£¬Ã¿ÐкóÃæ¶¼¶àÁËÒ»¸ö^M£¬Õâ¸öÓ¦¸ÃÊÇunixµÄ»»Ðзû£¬Ã¿´ÎÖ»ÄÜɾ³ýÒ»±éÈ»ºó²ÅÄܱàÒ룬·ñÔò»á±¨´í£¬ÇëÎÊÕâÊÇÔÚueÖÐ×Ö·û±àÂëµÄ ......

CÇóÖú£º·Ö¸îÊý×é

±ÈÈçÊý×éarray[100]="12@good@thanks@men@";
Ôõô×ö²ÅÄܽ«array1[100]="12";array2[100]="good";array3[100]="thanks";array4="men";

ÐèÒªÔõô×öÄØ?CÀ ......

CÖÐÄÚ´æµÄ·ÖÅä

±ÈÈ磺
char c[] = "hello,world";
char *c = "hello,world";

ÔÚ·ÖÅäÄÚ´æÊ±ÊDz»Ò»ÑùµÄ°É£¿£¨·ÖÅäµ½¶Ñ»¹ÊÇջʲôµÄ£©
Ë­Äܸø½²½²CÖÐÄÚ´æÊÇÔõô·ÖÅäµÄ°¡£¿
»òÕ߸øÌṩ¸öÁ´½Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ