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

ARM LINUXÉÏÓÃCдÎļþµÄÎÊÌâ

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);

fclose(fpOut);



ΪʲôдµÄÎļþΪ¿ÕµÄÄØ£¬ÔÚARM ÉÏ ÄÇλ֪µÀ°ïÏÂ棬ллÁË 
TimeµÄÀàÐͲ»¶Ô
char * Time="2009-9-23";
»òÕß
char Time[] ="2009-9-23";


ÕâÊÇʲôÓ÷¨£¿
sprintf(fpOut,"%s",Time);
Â¥Ö÷ÊÇÏëÓà fprintf °É¡£

ͬ¥ÉÏ

C/C++ code:

char Time[]="2009-9-23";//mark
FILE *fpOut=fopen("1.txt","w+");
if(fpOut==NULL)
return ;

fwrite(Time,1,strlen(Time),fpOut);

fclose(fpOut);


ÒýÓÃ
TimeµÄÀàÐͲ»¶Ô
char* Time="2009-9-23";
»òÕß
char Time[] ="2009-9-23";



Â¥Ö÷Ì«Âí»¢ÁË

ÊǵÄ
ÐÞ¸Ä
char* Time="2009-9-23";
fprintf(fpOut,"%s",Time);

ÔÚARM Àï ûÓÃ
ÄÇλÅöµ½¹ýÂð


Ïà¹ØÎÊ´ð£º

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

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

ѧϰÌÖÂÛ C/C++ QQȺ - C/C++ / ·Ç¼¼ÊõÇø

QQȺ 29152388
ÓÑÇéUP

°ï¶¥

up

°ïup

up Ö§³Ö£¡

up jf

...ÄѵÀÓзÖ..?

up up up
Ï£ÍûÓеüӷ֣¬¹þ¹þ¡£

Ö§³Ö£¬ÎÒ¼ÓÁË£¬Ï£ÍûÂ¥Ö÷ÄܼÓÎÒ£¬¹²Í¬Ñ§Ï°¹þ

¼ÓÁË¡£

¶¥ÉÏ£¬Ã¿ÌìÊÕ»ñÒ»µã£¬Ö§³Ö ......

CÈí¼þ תÕý¹¤×ʶàÉÙºÏÊÊ£¿

µØµãÔÚÉîÛÚÄÏɽ
¡¡¡¡×öCÈí¼þ¡£ÊÔÓÃ2K£¬²»ÖªµÀתÕý¸ø¹«Ë¾Ì¸¶àÉÙºÏÊÊ°¡£¿
¡¡¡¡ÁíÍ⣬±¾ÈËС±¾£¬Ó¢ÓïÁù¼¶£¬ÊÔÓÃÈý¸öÔ±íÏÖµÃÒ²ËãÖÐÉÏˮƽ¡£µ«ÊÇÏÖÔÚ»¹²»ÄÜ×öÏîÄ¿¡£ÁíÍâ±ÏҵѧУûÓÐÃûÆø¡£
¡¡¡¡×ªÕý¸ø¹«Ë¾Ì¸¶àÉ ......

C#µ÷Óà C DLLÎÊÌ⣬¶®µÄÀ´ÇÀ·ÖÁË

//C ½Ó¿Ú
extern "C"
{
  TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);  
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

¾ÍÏñweb½çÃæµÄÎı¾ÄÚÈݱ༭Æ÷


up

C/S»¹Òª±àÒëÆ÷¸ÉÂï°¡
ÓÖ²»ÓÿØÖÆÑùʽ
òËÆûÓаɠ Èç¹ûÓÐÁË֪ͨÏÂÎÒ  ÎÒÒ²Òªliujintaohfbb@163.comÎÒµÄÓÊÏä ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ