VC++·ÃÎÊjavascriptµÄϵÁÐÎÄÕÂ
ÓÐЩÍøÓѾ³£Ñ¯ÎÊ£ºÔÚVC++ÖÐÈçºÎ·ÃÎÊjavascriptÖеĶÔÏ󡢺¯Êý¡¢±äÁ¿µÈÔªËØ£¿
ÕâÀï°ÑÒÔÇ°·¢±íµÄһϵÁÐÎÄÕ¼¯ÖÐÔÚÒ»Æ𣬷½±ã²éÔÄ¡£
vc++·ÃÎÊjavascript(1)--windowÔڽű¾ÒýÇæÖеÄ×÷ÓÃ
http://blog.csdn.net/pimshell/archive/2008/08/02/2758863.aspx
vc++·ÃÎÊjavascript(2)--IDispatchExÊǶ¯Ì¬½Å±¾ÓïÑԵĻù´¡
http://blog.csdn.net/pimshell/archive/2008/08/04/2768182.aspx
vc++·ÃÎÊjavascript(3)--±éÀújavascriptÖеÄÊý×é
http://blog.csdn.net/pimshell/archive/2008/08/04/2768206.aspx
vc++·ÃÎÊjavascript(4)--ÔÀ´º¯ÊýÒ²ÊǶÔÏó
http://blog.csdn.net/pimshell/archive/2008/08/05/2772413.aspx
vc++·ÃÎÊjavascript(5)--°ó¶¨ÍøÒ³ÔªËصÄʼþ
http://blog.csdn.net/pimshell/archive/2008/08/05/2773717.aspx
vb°ãµÄVC++¿ª·¢(1)--ÒýÑÔ
http://blog.csdn.net/pimshell/archive/2008/07/23/2699046.aspx
vb°ãµÄVC++¿ª·¢(2)--COMÒì³£Óësafecall
http://blog.csdn.net/pimshell/archive/2008/07/24/2704344.aspx
vb°ãµÄVC++¿ª·¢(3)--#import
http://blog.csdn.net/pimshell/archive/2008/07/24/2705663.aspx
vb°ãµÄVC++¿ª·¢(4)--µ÷ÓÃIDispatch½Ó¿ÚµÄÊôÐԺͷ½·¨
http://blog.csdn.net/pimshell/archive/2008/08/01/2754831.aspx
Ïà¹ØÎĵµ£º
ÈçºÎ½»»»Á½¸ö±äÁ¿µÄÖµ£º
CÓïÑÔÖеĴ«Öµ´úÂëÈçÏ£º
int change(int x,int y)
{
int temp=x;
x=y;
y=temp;
}
CÓïÑÔÖеĴ«Ö·´úÂëÈçÏ£º
int change(int *p,int *q)
{
int temp=*p;
*p=*q;
*q=temp;
}
ʹÓÃC++ÖеÄÒýÓÃÀàÐÍ´úÂëÈçÏÂ:
int change(int &x,int &y)
{
int temp=x;
x=y;
y=temp;
}
JAV ......
»Ø¹Ë֮ǰµÄƪ·ù£¬CÓïÑÔµÄÖ÷Ì岿·Ö»ù±¾ÒѾ½éÉÜÍêÁË¡£Ö®ËùÒÔûÓнéÉÜC++µÄÏà¹ØÌØÐÔÊÇÒòΪÔÚ֮ǰµÄÎÄÕÂÖÐCºÍC++ÔÚÕâЩ·½Ã涼Óй²ÐÔ£¬ËùÒÔÔÚÃæÏò¶ÔÏó֮ǰ¡£ÎÒÃÇÏÈ°ÑÕâЩ¹²ÐÔ¸ø½éÉÜÍê¡£Ò²¾ÍÊÇ˵ÔÚ½éÉÜÃæÏò¶ÔÏó֮ǰ£¬ËùÓеÄÎÄÕ¶¼ÊÇCC++Öж¼ÄÜʹÓõġ£´ÓÕâµãÉÏÀ´¿´£¬ÏÖÔÚÕý¼«Á¦·Ü¶·ÓÚC++Õ½ÏßÉϵijõѧÕß»¹ÊǺÜÓÐÓô¦µÄ¡£
±¾Æª¼ ......
ÇëÏÈ¿´ÏÂÌ⣺
if(true)
{
a = 1;
}
alert(a); //Êä³öɶ£¿
if(true)
{
var a = 1;
}
alert(a); //ÕâÓÖÊä³öʲô£¿
ÔÚfirefox3.5Ï£¬µÚÒ»¸öÊä³ö1;µÚ¶þ¸öÊä³öundefined£¡£¡£¡
ΪɶÄØ£¿ºÇºÇ£¬±¾ÈËÔÚ´Ë°àÃÅŪ¸«Ò»Ï£º
Ò»°ãÇé¿öÏÂȱʡvarÉùÃ÷ʱ£¬Ä¬È ......