C³ÌÐò±ÀÀ£
printf("µØÖ·:%08X\n",pos+Image_Import_Descriptor.OriginalFirstThunk%Nt_Header.OptionalHeader.SectionAlignment+j*4);//ÕâÀïÏÔʾµÄ½á¹û0000064C
fseek(fp,pos+Image_Import_Descriptor.OriginalFirstThunk%Nt_Header.OptionalHeader.SectionAlignment+j*4,0);//¶¨Î»µ½º¯ÊýÃû±í
Ϊʲôfseek 64CÕâÀï»á·¢Éú±ÀÀ£
Ó¦¸ÃÊÇfpÖ¸ÕëµÄÎÊÌâ¡£
¿´¿´ÄãµÄfpÖ¸Õë¶Ô²»¶Ô£¬±ÈÈ磺ÎļþÊÇ·ñ´ò¿ª£¬fpÖ¸ÕëÊÇ·ñ±»ÐÞ¸ÄÁË¡£
ͬÒ⣬¿´ÎļþÊÇ·ñ´ò¿ª£¬»òfpûÓгõʼ»¯¡£
¿´¿´fpÊÇ·ñÓÐЧ
fscanf(fp,"%s",dll_name); fpµÄ±ä0ÁË£¬Ôõô»ØÊÂ
ÎҼǵÃfscanfÊDz»»áÕâÑùµÄ
fpΪ0±íʾÎļþ´ò¿ª²»³É¹¦.
Õâ¾ä²»»á¸Ä±äfp£¬ÒòΪ´«µÄFILE*
if(fp==NULL)
printf("¿Õ1");
fscanf(fp,"%s",dll_name);
if(fp==NULL)
printf("¿Õ2");
»áÊä³ö¿Õ2
Ϊʲô£¿¾¹ýfscanf fpÖ¸Õë¾ÍÇå0ÁË£¬fscanfûÓÐÕâ¸ö×÷ÓðÉ
֮ǰʹÓÃfp¶¼ÊÇÕý³£µÄ£¬fscanfºó¾Í¶ªÊ§
mark!!!!
Ïà¹ØÎÊ´ð£º
±àд³ÌÐòdetab, ½«ÊäÈëÖеÄÖƱí·ûÌæ»»³ÉÊʵ±ÊýÄ¿µÄ¿Õ¸ñ£¬Ê¹¿Õ¸ñ³äÂúµ½ÏÂÒ»¸öÖƱí·ûÖÕÖ¹µÄµØ·½¡£¼ÙÉèÖƱí·ûÖÕֹλµÄλÖÃÊǹ̶¨µÄ£¬±ÈÈçÿ¸ônÁоͻá³öÏÖÒ»¸öÖƱí·ûÖÕֹλ¡£
£££££££££££££££££££ ......
C\C++ÈçºÎ¼ÆË㺯ÊýµÄµ¼Êý,±¾ÈËÐÂÊÖ£¬Ïëд¸ö³ÌÐò£¬µ«ÊDz»ÖªµÀÈçºÎÏÂÊÖ£¬»¹Íû¸ßÊÖÖ¸µãÒ»¶þ£¬Ð»¹ý¡£
Õâ¸ö¡¡
¸úº¯ÊýµÄ¾ßÌåÐÎʽÓйذɣ¬ÄѵÀÄãÏë±à³ö¸ö¡°ÍòÄÜ¡±µÄÇ󵼺¯Êý£¿
°³ÉÏѧʱÏë¹ý×Ô¶¯ÍƵ¼¹«Ê½£¬ºóÀ´ ......
ÎÊһϣº
#include <stdio.h>
int main()
{
char x, y, z;
int i;
int a[16];
for(i=0; i<=16; i++)
{
a[i] = 0;
......
ÔÚCÀÊý×éµØÖ·ºÍÊý×éÊ×µØÖ·ÆäʵÊÇÒ»»ØÊ°ɣ¿Êý×éµØÖ·¾ÍÊÇÊý×éÊ×µØÖ·£¬¶Ô°É£¿
²»Ì«Àí½â¡°Êý×éÊ×µØÖ·¡±¡¡ÊDz»ÊÇ˵Ê×ÔªËصĵØÖ·£¿
Èç¹ûÊǵĻ°£¬ÖµÏàͬ£¬ÀàÐͲ»Í¬¡£
ÊÇ!
ÎÒµÄÀí½âÊÇÕâÑùµÄ.
¸ÅÄîÊÇÎ ......
exit() ºÍreturn ;½áÊøµÄÇø±ðºÍÓÅȱµã
ÎÒ²»Ì«Ã÷°×exit() ËüÊÇÖ±½ÓÍ˳ö³ÌÐòÂð ËüÏÂÃæÒªÊÇ»¹Óк¯Êý»¹ÄÜÖ´ÐÐÂð
Èç
void a()
{
exit();
}
void b()
{
...
}
bÄÜÖ´ÐÐÂð
......