ÎÒcopyÁËÒ»²¿·Ö±ðÈ˵ijÌÐò£¬ÔÚ¿ª·¢°åÉÏÔËÐÐÒ»¶Îʱ¼äºó·¢ÏÖÓÐÄÚ´æ鶵ÄÌáʾ£¬Õâ¸ö¸ÃÔõô°ì£¬Ò²Ã»µ÷ÊÔ¹¤¾ß£¬Ö»ÄܼӴòÓ¡ÐÅÏ¢¡£
°ïÄ㶥һÏÂ.ÕâôÖØÒªµÄÌû×ӿɲ»ÄܳÁÏÂÈ¥ÁË.
½¨ÒéʹÓù¤¾ß¼ì²é,ÓÐһЩÄÚ´æй©¼ì²é¹¤¾ßµÄ.
×îºÃ°²×°Éϵ÷ÊÔ¹¤¾ß.×Ô¼ºµ÷ÊÔ¹ý³ÌÖÐ,»áѧϰºÜ¶à¶«Î÷.
ÄܳöÏÖÄÚ´æй©µÄÇé¿ö ......
ÎÒcopyÁËÒ»²¿·Ö±ðÈ˵ijÌÐò£¬ÔÚ¿ª·¢°åÉÏÔËÐÐÒ»¶Îʱ¼äºó·¢ÏÖÓÐÄÚ´æ鶵ÄÌáʾ£¬Õâ¸ö¸ÃÔõô°ì£¬Ò²Ã»µ÷ÊÔ¹¤¾ß£¬Ö»ÄܼӴòÓ¡ÐÅÏ¢¡£
ÆäÖÐmalloc¶¯Ì¬²úÉúÁ´±íÔÚ³ÌÐò½áÊøµÄʱºòÊÍ·Å
¿ÉÒ԰ѳÌÐò·Åµ½pcÉÏÏȵ÷ÊÔ£¬ÔÚpcÉϵ÷ÊÔ¹ýÁË£¬ÔٷŹýÈ¥¡£
ÒýÓÃ
¿ÉÒ԰ѳÌÐ ......
¸ÚλְÔð:
1.²ÎÓë²úÆ·µÄ¹æ»®Éè¼Æ£»
2.Linux »·¾³ÏÂvsftp¡¢qmail¿ªÔ´´úÂëµÄ¶þ´Î¿ª·¢;
3.¿Í»§¶Ëacitve xµÄ¿ª·¢£»
ÈÎÖ°ÒªÇó:
1.ÓÐlinux c ±à³Ì¾Ñ飬Äܱàд linux shell script;
2.ÓÐVC ±à³Ì¾Ñ飬Äܱàдactive x , ÊìϤftp¡¢pop3¡¢smtpµÈÐÒ飻
3.ÓÐoracle µÈÊý¾Ý¿â֪ʶ£»
Èç¹ûÓÐÒâÏòµÄÕ¾ÄÚ˽ÐÅ ......
C/C++ code:
char Time="2009-9-23";
FILE *fpOut=fopen("1.txt","w+");
if(fpOut==NULL)
return ;
fwrite(Time,strlen(Time),1,fpOut);
sprintf(fpOut,"%s",Time);
fclos ......
¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£
Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓÃvi±à¼¡±¡¢¡°ÓÃgcc±àÒ롱¡£
2.×îºÃÄÜÓм¸¸ö°¸Àý£¬´óС¶¼ÐС£ÈÃÈË¿´Íê¶àÉٸоõÓеã¾Ñé¡£
²»Ê¤¸Ð ......
int _send()
{
int fd,size;
char fname[1024],buffer[4096];
/*ÊäÈëÒª´«ÊäµÄÎļþ*/
printf("ÇëÊäÈëÄúÒª´«ÊäµÄÎļþ·¾¶:\n");
gets(fname);
/*´ò¿ªÎļþ*/
fd = open(fname,O_RDONLY,0);
/*¶ÁÈ¡Îļþ*/
while((size = read(fd,buffer,4096))>0)
{
/*µ÷ÓÃclient ......