Îļþ¶ÁдÎÊÌâ 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("ͨѶµØÖ·: ");
&
Ïà¹ØÎÊ´ð£º
13¸öÈËΧ³ÉһȦ£¬´ÓµÚÒ»¸öÈË¿ªÊ¼Ë³Ðò±¨ºÅ1£¬2£¬3¡£·²±¨µ½3ÕßÍ˳öȦ×Ó£¬ÕÒ³ö×îºóÁôÔÚȦ×ÓÖеÄÈËÔÀ´µÄÐòºÅ
½á¹ûÓ¦¸ÃÊÇ13 ¿ÉÎҵijÌÐòµÄ½á¹ûÊÇ11 Ï£ÍûºÃÐÄÈ˰ï¸ÄÒ»ÏÂ
#include <stdio.h>
#include < ......
struct s1 {
char ch, *ptr;
union {
short a, b;
unsigned int c:2, d:1;
}
struct s1 *next;
};
Ö÷Òª¿´²»¶®·ûºÅ¡¡:
Çë´ïÈËÖ¸µãÒ»¶þ
http://blog.cechina.cn/true ......
´ó¼Ò°ïÎÒ¿´¿´Õâ¸ö´úÂ룬ÓкܶàÎÊÌ⣬²»ÖªµÀÔõô¸Ä£¬Ð¡µÜÔÚ´ËллÁË¡£
#include <stdio.h>
#include <conio.h>
#include <ctype.h>
float date1,date2;
char op;
void ......
Ä㻹ÔÚÐÂÊÖ½×¶ÎÅÇ»²Âð£¿Ä㻹ÔÚ·¢³îÓ¦¸ÃÔõô¼ÌÐøÑ§Ï°CºÍC++Âð£¿
Ⱥ 29152388 ΪÄã½â¿ªÒɻ󣬻¶ÓÐÂÊÖÀÏÊֵļÓÈ룬ÄãµÄ¼ÓÈë¾ÍÊÇÆäËüÈËѧϰµÄ¶¯Á¦
¥ϳöÃŲȱã±ã
ËãÄãºÝ
ÐÂÊֵĸ£Òô°¡···ÖÕÓÚ ......
±ÈÈçÊý×éarray[100]="12@good@thanks@men@";
Ôõô×ö²ÅÄܽ«array1[100]="12";array2[100]="good";array3[100]="thanks";array4="men";
ÐèÒªÔõô×öÄØ?CÀ ......