Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ :

Ϊʲôc¿âtimeº¯Êý²»ÄÜʹÓð¢

ÎÒÏë»ñµÃµ±Ç°µÄʱ¼ä£¬windows mobileÉÏÄÜÓÃtime_t time(time_t *timer)º¯Êý£¬Ìáʾlnk´íÎó¡£ÎªÊ²Ã´²»ÄÜÓÃÄØ£¿ ÐèÒªÔö¼ÓʲôÁ¬½Ó¿âÂð£¿Ãû×ÖÊÇʲô£¿
Çå³þµÄ¼ÇµÃ c¿âµÄtime_tÊÇ¿ÉÒÔʹÓõģ¬Ó¦¸ÃÊÇÆäËûµÄÎÊÌâµ¼Öµġ£

ÓÃGetLocalTime°É£¬ÄǸötime£¨£©È·Êµ²»ÄÜÓá£

Èç¹ûwindows mobileÊÇGÍøµÄÊÖ»ú£¬Ê±¼ä¿ÉÄÜÊDz»×¼È·µÄ
......

ÇëÍƼö»ù±¾ C µÄºÃÊé

RT
c³ÌÐòÉè¼ÆÓïÑÔ

C³ÌÐòÉè¼Æ̶ºÆÇ¿µÄÄDZ¾

c³ÌÐòÉè¼ÆÓïÑÔ
cÏÝÚåÓëȱÏÝ
CºÍÖ¸Õë
C primer plus
cר¼Ò±à³Ì

CÓïÑÔÖ®ËÄÊéÎå¾­

ǧÍò²»Òª¿´Ì·ºÆÇ¿µÄ£¬»áº¦ËÀÄã¡£
Ö±½Ó¿´The C Programming Language.

ÒýÓÃ
C³ÌÐòÉè¼Æ̶ºÆÇ¿µÄÄDZ¾


4Â¥ÁÁÁË

C³ÌÐòÉè¼Æ̶ºÆÇ¿µÄÄDZ¾Ó¦¸ÃÊʺÏÄã°É

Î ......

¹ØÓÚC¼¸¸öÖ¸ÕëµÄÎÊÌâ——Çë°ïæ½â»ó

1.Ϊʲô¶¨Ò庯Êýʱ£ºfun1 ¿ÉÒÔÕýÈ·µÄ·µ»Ø¶øfun2²»ÐУ¿
char * fun1()
{
  char *p = "haha";
  return p;
}
char * fun2()
{
  char p[] = "haha";
  return p;
}
ÊÇ·ñ¿ÉÒÔÕâÑùÀí½â£º
fun1ÖÐpÊÇÒ»¸ölocalµÄ±äÁ¿£¬ËüÖ¸ÏòÒ»¸ö¿Õ¼ä£¬¿Õ ......

СCµÄÎÊÌâ¹þ

C/C++ code:
#include <stdio.h>
typedef struct node{
int *key;
int length;
}node;
void insert(node &temp,int n)
{
int i,j;
for(i=0;i<=temp.length;i++)
{
if(n>temp.key[i])
break;
}
temp.length++;
for(j=temp.length;j> ......

cµÄ×Ö·û´®ÎÊÌâ

fastshow()
{
FILE *fp;
char name[10];
char ch[512];
printf("ÇëÊäÈë´ýÏÔʾµÄÎļþÃû\n");
scanf("%s",name);
if((fp=fopen(name,"r"))==NULL)
{
printf("²»ÄÜ´ò¿ªÎļþ!\n");
exit(0);}
fgets(ch,10000,fp);
printf("%s",ch);
......

c»ù´¡

#include <string.h>
#include <stdio.h>

void main()
{
int i;
char buf[]="abcde";
strncpy(buf,"abc",3);
for(i=0;i <5;i++)
printf("%c",buf[i]);
printf("\n");
}
ÇëÎʳöʲôÎÊÌâÁË£¿

LIBCD.lib(wincrt0.obj) ......
×ܼǼÊý:27572; ×ÜÒ³Êý:4596; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [4587] [4588] [4589] [4590] [4591] [4592] 4593 [4594] [4595] [4596]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ