cÖеÄתÒå×Ö·ûÎÊÌâ
'\108'×÷Ϊ×Ö·û³£Á¿¶Ô²»¶Ô£¿
תÒå×Ö·û'\ddd'±íʾ3λ8½øÖÆËù´ú±íµÄ×Ö·û¡£ µ«ÊÇ108²»ÊÇÕýÈ·µÄ8½øÖƱíʾ·½·¨£¬Òò´ËÓ¦¸ÃÊÇ´íÎóµÄ¡£
µ«ÊÇchar a='\108'; Ϊʲô±àÒë²»³ö´íÄØ£¿
\108 û³¬¹ý°¡
8½øÖÆÀï²»Ó¦¸Ã³öÏÖÊý×Ö8ѽ£¬0-7²Å¶Ô¡£
'\108'ÆäʵÊÇÁ½¸ö×Ö·û£¬Ò»¸öÊÇ'\10'£¬Ò»¸öÊÇ'8'¡£
×Ö·ûÆ¥ÅäÓöµ½ÎÞ·¨Æ¥ÅäµÄÇé¿öʱ£¬¾ÍÍ£Ö¹ÁË¡£
³ýÁË/ddd£¬»¹ÓÐ/dhh,/108±»½âÊÍûºóÕß
'\108¡¯²»ÊÇÒ»¸öתÒå×Ö·û£¬ÒòΪÆäÖеÄÊý×Ö8²»Êǰ˽øÖÆÖеÄÊý£¬Ëü³¬³öÁË0~7
´íÎóÑÔÂÛ£¬Â¥Ö÷×¢Ò⣬´¿Êô¾ÆºóʧÑÔ
±àÒëͨ¹ýÁË£¬½á¹ûÊÇ8¡£¸ã²»Ã÷°×Ϊʲô¡£
turbo cºÍvc++6.0µÄ½á¹û¶¼ÊÇ8¡£Èç¹ûÓÐÕâÑùÒ»¸öÌâÄ¿£¬ÏÂÁв»ÕýÈ·µÄ³£Á¿ÊÇ£ºÆäÖÐÒ»¸öÊÇ¡®\108¡¯,Õâ¸öÊDz»ÊÇÓ¦¸ÃÑ¡Ôñѽ£¿
Õâ¸öÊôÓÚÕý³£µÄ×Ö·û£¬ÔÚC/C++±ê×¼À¶à×Ö½Ú×Ö·ûÊǺϷ¨µÄ
ßÀ,·¸ÁËÒ»¸öµÍ¼¶´íÎó¡£
'\108'ʵ¼ÊÉÏÊÇ2¸ö×Ö·û,'\10'ºÍ '8' '\10'±»ºöÂÔµôÁË
ºÍ´óС¶ËÓйØϵ»¹ÊÇÇ°ÃæµÄ¶¼ºöÂÔÖ»Áô×îºóÒ»¸ö
Ïà¹ØÎÊ´ð£º
#include <string.h>
#include <stdio.h>
void main()
{
int i;
char buf[]="abcde";
strncpy(buf,"abc",3);
for(i=0;i <5;i++)
printf(&q ......
ÒÔÇ°ÔÚVCÀïÃ潨һ¸ö¹¤³Ì£¬¶¼Ö»ÓÃÒ»¸ö .c Îļþ£¬×òÌìÔÚÒ»¸ö¹¤³ÌÀïÓÃÁËÁ½¸ö .cÎļþÁË£¬Óöµ½ÎÊÌâÁË£¬Çë´ó¼ÒÖ¸µã¡£±ÈÈ磺
File1.c Fil ......
ΪʲôCдµÄDLLÎļþC¡¢PBÄܵ÷ÓÃVB²»Äܵ÷Óã¿
VBÀïΪʲôÓеÄDLLÖ±½Óͨ¹ýÒýÓÿÉÒÔʹÓã¿ÓеÄÐèҪͨ¹ýdeclareÉêÃ÷Íⲿº¯Êý£¿ÕâЩDLLÓÐʲô²î±ð£¿
1¡¢ÎªÊ²Ã´PBÄÜͨ¹ýDECLAREÉùÃ÷¶øVB²»ÐУ¿
2¡¢Èç¹ûÕâ¸ödllÖÐµÄ ......
C\C++ÈçºÎ¼ÆË㺯ÊýµÄµ¼Êý,±¾ÈËÐÂÊÖ£¬Ïëд¸ö³ÌÐò£¬µ«ÊDz»ÖªµÀÈçºÎÏÂÊÖ£¬»¹Íû¸ßÊÖÖ¸µãÒ»¶þ£¬Ð»¹ý¡£
Õâ¸ö¡¡
¸úº¯ÊýµÄ¾ßÌåÐÎʽÓйذɣ¬ÄѵÀÄãÏë±à³ö¸ö¡°ÍòÄÜ¡±µÄÇ󵼺¯Êý£¿
°³ÉÏѧʱÏë¹ý×Ô¶¯ÍƵ¼¹«Ê½£¬ºóÀ´ ......
×î½üͻȻÏë×Ô¼ºÀ´ÊµÏÖÒ»¸öÎå×ÓÆå³ÌÐò,µ«²»ÖªµÀÔõô¿ªÊ¼,×Ô¼ºÒ²Ã»Ñ§»Í¼Ðκ¯Êý,ÄÜÔÚ¿ØÖÆ̨ÏÂÖ±½ÓдÂð>>>?????
¿ØÖÆ̨£¿±ÈͼÐνçÃæ¸üÂé·³¡£
http://search.download.csdn.net/search/%E4%BA%94%E5%AD%90% ......