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

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

ÒýÓÃ
³ýÁË/ddd£¬»¹ÓÐ/dhh,/108±»½âÊÍûºóÕß

´íÎóÑÔÂÛ£¬Â¥Ö÷×¢Ò⣬´¿Êô¾ÆºóʧÑÔ


  ±àÒëͨ¹ýÁË£¬½á¹ûÊÇ8¡£¸ã²»Ã÷°×Ϊʲô¡£

  turbo cºÍvc++6.0µÄ½á¹û¶¼ÊÇ8¡£Èç¹ûÓÐÕâÑùÒ»¸öÌâÄ¿£¬ÏÂÁв»ÕýÈ·µÄ³£Á¿ÊÇ£ºÆäÖÐÒ»¸öÊÇ¡®\108¡¯,Õâ¸öÊDz»ÊÇÓ¦¸ÃÑ¡Ôñѽ£¿


ÒýÓÃ
  turbo cºÍvc++6.0µÄ½á¹û¶¼ÊÇ8¡£Èç¹ûÓÐÕâÑùÒ»¸öÌâÄ¿£¬ÏÂÁв»ÕýÈ·µÄ³£Á¿ÊÇ£ºÆäÖÐÒ»¸öÊÇ¡®\108¡¯,Õâ¸öÊDz»ÊÇÓ¦¸ÃÑ¡Ôñѽ£¿


Õâ¸öÊôÓÚÕý³£µÄ×Ö·û£¬ÔÚC/C++±ê×¼À¶à×Ö½Ú×Ö·ûÊǺϷ¨µÄ

ÒýÓÃ
\108 û³¬¹ý°¡

ßÀ,·¸ÁËÒ»¸öµÍ¼¶´íÎó¡£
'\108'ʵ¼ÊÉÏÊÇ2¸ö×Ö·û,'\10'ºÍ '8'  '\10'±»ºöÂÔµôÁË

ºÍ´óС¶ËÓйØϵ»¹ÊÇÇ°ÃæµÄ¶¼ºöÂÔÖ»Áô×îºóÒ»¸ö


ÒýÓÃ
²»ÖªµÀLZÊÇʲô±àÒëÆ÷£¬ÎÒÓõÄmingw 3.4.5ÊÇ»áÓо¯¸æµÄ£º
char c = '\108';
warning: multi-character character constant

»


Ïà¹ØÎÊ´ð£º

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(&q ......

C³ÌÐò±ÀÀ£

printf("µØÖ·:%08X\n",pos+Image_Import_Descriptor.OriginalFirstThunk%Nt_Header.OptionalHeader.SectionAlignment+j*4);//ÕâÀïÏÔʾµÄ½á¹û0000064C
fseek(fp,pos+Image_Import_Descriptor.OriginalFi ......

Çócα´úÂë

¸¨Öúϵ¥Á÷³Ì£º
Ò»¡¢ÒÔijһ½»Ò×Æ·ÖÖgµÄµ±Ç°³É½»¼ÛPΪ»ù´¡£¬ÉÏ¡¢Ï¸÷À­¿ªÒ»¶¨µãÊýxË«Ïò¹Òµ¥Tb£¨Âòµ¥£¬¹Òµ¥¼Û¸ñΪBp=P+x£©ºÍTs£¨Âôµ¥£¬¹Òµ¥¼Û¸ñΪSp=P- x£©£¬ÊýÁ¿¾ùΪn¡£Í¬Ê±£¬ÈÔÒÔPΪ»ù´¡£¬É趨TbµÄÖ¹ËðµãÊýLb=P-y ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ