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

dz̸c³ÌÐòº¯Êýµ÷Óùý³Ì

¹Ø¼ü´Ê£º
Õ»Çø£º¾ÍÊÇÒ»¸öÄÚ´æµØÖ·¿Õ¼ä£¬Ã¿µ÷ÓÃÒ»´Îº¯Êý¾Í»áÔÚÕ»ÇøÎª´Ëº¯Êý·ÖÅäÒ»¶Î¿Õ¼ä£¨Ö÷ÒªÓÃÓÚ´æ´¢¾Ö²¿±äÁ¿£¬
´Ë¶Î¿Õ¼äÏÂÃæ¾ÍÖ±½Ó¶¨ÒåΪº¯ÊýÕ»£©
ebp :ÓÃÓÚ´æ·Åº¯ÊýÕ»µÄÕ»¶¥µØÖ·
esp:ÓÃÓÚ´æ·Å´Ëº¯ÊýÕ»µÄÕ»µ×µØÖ·
×¢Ò⣺ջ¶¥µØÖ·´óÓÚÕ»µ×µØÖ·£¬Õ»ÊÇ´ÓÕ»¶¥ÏòÕ»µ×Ôö³¤¡£¼´ebp-->esp;
ÏÂÃæÎÒÃÇ·ÖÎöÈçÏ´úÂëÀý×Ó£¬¿´¿´ËüµÄµ÷ÓûúÖÆ
#include<stdio.h>
int fun(int c)
{
 int d=c+1;
 return d;
}
int main()
{
    int a=1;
    int b=fun(a);
    return 0;
}
                 
  int a=1;
 »ã±à´úÂ룺 mov         dword ptr [ebp-4],1
ºÜÏÔÈ»£¬ebpÊÇÓÃ×÷µÄÁË»ùÖ·¼Ä´æÆ÷£¬×¢ÒâebpµÄÖµÊDz»»á±äµÄ£¬Ëü»á¹Ì¶¨Ö¸Ïòº¯ÊýÕ»µÄÕ»¶¥£¬ÔÚÕâÀïebp´ËʱµÄÖµÊÇ0x0013FF80
              
 int b=fun(a);
 »ã±à´úÂ룺
   mov         eax,dword ptr [ebp-4]                      
   push        eax                                             
   call        @ILT+0(fun) (00401005)               
   add         esp,4                                      &nb


Ïà¹ØÎĵµ£º

ubuntuÏ£¬C/C++ͨ¹ýJNIµ÷Óà JAVAÀà

֮ǰд¹ýÒ»¸öʵÏÖÁËijÖÖ¹¦ÄܵÄjava³ÌÐò£¬µ«ÓÉÓÚ½üÈÕ“¹¤×÷”ÐèÒª£¬ÓÖÐèÒªÔÚc/c++ÖÐÖØÐÂʹÓøù¦ÄÜ¡£ÎªÁ˽Úʡʱ¼ä£¬ÎÒ²ÉÈ¡ÁËÔÚc/c++Öе÷ÓÃjava³ÌÐòµÄ·½·¨£¬µ«Ö®Ç°Ã»ÓнӴ¥¹ýÀàËÆµÄ¶«Î÷£¬µ½ÍøÉÏÒ»²é£¬¹ûÈ»ÓÐÀàËÆµÄ¶«Î÷£¬ÐÄÖаµÏ²ing...¡£²éµ½µÄ×ÊÁÏÖÐÓм¸¸ö²»´íµÄÍøÒ³£º
      &nbs ......

entry point to c/c++ or Fortran MEX file

http://www.mathworks.com/access/helpdesk/help/techdoc/apiref/mexfunction.html
mexFunction (C and Fortran) -
Entry point to C/C++ or Fortran MEX-file
C Syntax
#include "mex.h"
void mexFunction(int nlhs, mxArray *plhs[], int nrhs,
const mxArray *prhs[]);
Fortran
Syntax
subrouti ......

C/C++Êý×éÃûÓëÖ¸ÕëÇø±ðÉî²ã̽Ë÷

×÷ÕߣºËᦻª e-mail:21cnbao@21cn.com
1.    ÒýÑÔ
Ö¸ÕëÊÇC/C++ÓïÑÔµÄÌØÉ«£¬¶øÊý×éÃûÓëÖ¸ÕëÓÐÌ«¶àµÄÏàËÆ£¬ÉõÖÁºÜ¶àʱºò£¬Êý×éÃû¿ÉÒÔ×÷ΪָÕëʹÓá£ÓÚÊǺõ£¬ºÜ¶à³ÌÐòÉè¼ÆÕ߾ͱ»¸ãºýÍ¿ÁË¡£¶øÐí¶àµÄ´óѧÀÏʦ£¬ËûÃÇÔÚCÓïÑԵĽÌѧ¹ý³ÌÖÐÒ²´íÎóµÃ¸øÑ§Éú½²½â£º“Êý×éÃû¾ÍÊÇÖ¸Õ딡£ºÜÐÒÔË£¬ÎҵĴóѧÀÏ ......

C:\WINDOWS\system32\drivers\etc\hostsÊÇʲô¹¦ÄÜ??

½âÎöHostsÎļþ
ºÜ¶àÓû§¶¼ÖªµÀÔÚWindowϵͳÖÐÓиöHostsÎļþ£¨Ã»Óкó׺Ãû£©£¬ÔÚWindows98ϵͳϸÃÎļþÔÚWindowsĿ¼£¬ÔÚWindows2000/XPϵͳÖÐλÓÚC:\Winnt\System32\Drivers\Etc Ŀ¼ÖС£¸ÃÎļþÆäʵÊÇÒ»¸ö´¿Îı¾µÄÎļþ£¬ÓÃÆÕͨµÄÎı¾±à¼­Èí¼þÈç¼Çʱ¾µÈ¶¼ÄÜ´ò¿ª¡£
    ÓüÇʱ¾´ò¿ªhostsÎļþ£¬Ê×ÏÈ¿´¼ûÁËÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ