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

ÈçºÎÓÃC ±àдPHPÀ©Õ¹

PHPÈ¡µÃ³É¹¦µÄÒ»¸öÖ÷ÒªÔ­ÒòÖ®Ò»ÊÇËýÓµÓдóÁ¿µÄ¿ÉÓÃÀ©Õ¹¡£web¿ª·¢ÕßÎÞÂÛÓкÎÖÖÐèÇó£¬ÕâÖÖÐèÇó×îÓпÉÄÜÔÚPHP·¢ÐаüÀïÕÒµ½¡£PHP·¢Ðаü°üÀ¨Ö§³Ö¸÷ÖÖÊý¾Ý¿â£¬Í¼ÐÎÎļþ¸ñʽ£¬Ñ¹Ëõ£¬XML¼¼ÊõÀ©Õ¹ÔÚÄÚµÄÐí¶àÀ©Õ¹¡£
¡¡¡¡À©Õ¹APIµÄÒýÈëʹPHPÈ¡µÃÁ˾޴óµÄ½øÕ¹£¬À©Õ¹API»úÖÆÊ¹PHP¿ª·¢ÉçÇøºÜÈÝÒ׵Ŀª·¢³ö¼¸Ê®ÖÖÀ©Õ¹¡£¡£À©Õ¹Ö÷ÒªµÄ˼ÏëÊÇ£º¾¡¿ÉÄܵĴÓÀ©Õ¹±àдÕßÄÇÀïÒþ²ØPHPµÄÄÚ²¿»úÖÆºÍ½Å±¾ÒýÇæ±¾Éí£¬½ö½öÐèÒª¿ª·¢ÕßÊìϤAPI¡£
¡¡¡¡ÓÐÁ½¸öÀíÓÉÐèÒª×Ô¼º±àдPHPÀ©Õ¹¡£µÚÒ»¸öÀíÓÉÊÇ£ºPHPÐèÒªÖ§³ÖÒ»ÏîËý»¹Î´Ö§³ÖµÄ¼¼Êõ¡£Õâͨ³£°üÀ¨°ü¹üһЩÏֳɵÄCº¯Êý¿â£¬ÒÔ±ãÌṩPHP½Ó¿Ú¡£ÀýÈ磬Èç¹ûÒ»¸ö½ÐFooBaseµÄÊý¾Ý¿âÒÑÍÆ³öÊг¡£¬ÄãÐèÒª½¨Á¢Ò»¸öPHPÀ©Õ¹°ïÖúÄã´ÓPHPÀïµ÷ÓÃFooBaseµÄCº¯Êý¿â¡£Õâ¸ö¹¤×÷¿ÉÄܽöÓÉÒ»¸öÈËÍê³É£¬È»ºó±»Õû¸öPHPÉçÇø¹²Ïí£¨Èç¹ûÄãÔ¸ÒâµÄ»°£©¡£µÚ¶þ¸ö²»ÊÇºÜÆÕ±éµÄÀíÓÉÊÇ£ºÄãÐèÒª´ÓÐÔÄÜ»ò¹¦ÄܵÄÔ­Òò¿¼ÂÇÀ´±àдһЩÉÌÒµÂß¼­¡£
¡¡¡¡Ê×ÏÈ£¬ÎÒÃÇÓ¦¸ÃÑ¡ÔñÈçºÎÈ¥¹¹½¨ÎÒÃǵÄÀ©Õ¹Ä£¿é£¬ ÓÐÈýÖÖ·½Ê½:
¡¡¡¡1. External Modules
¡¡¡¡Íⲿģ¿é£¬Ò²¾ÍÊDZàÒë³É¹²Ïí¿â£¬ÓÃdl()º¯Êý¶¯Ì¬¼ÓÔØ¡£
¡¡¡¡ºÃ´¦£º (1)²»ÐèÒªÖØÐ±àÒë PHP (2)PHPÌå»ýС£¬ÒòΪ²»ÐèÒª±àÒë½øPHP
¡¡¡¡È±µã: (1)ÿ´Î*.php½Å±¾Ö´Ðж¼ÐèÒªÓà dl()È¥¼ÓÔØ£¬Ð§ÂʽϵÍ
¡¡¡¡(2)ÿ´Î¶¼Òªµ÷ÓÃdl()
¡¡¡¡2. Built-in Modules
¡¡¡¡±àÒë½øPHP
¡¡¡¡ºÃ´¦: (1)²»ÐèÒª¶¯Ì¬¼ÓÔØ£¬Ä£¿éÔÚphp½Å±¾ÀïÃæ¿ÉÒÔÖ±½ÓʹÓÃ.
¡¡¡¡(2)²»ÐèÒª½«Ä£¿é±àÒë³É.so¹²Ïí¿â£¬ÒòΪֱ½Ó±àÒë½øPHP¡£
¡¡¡¡È±µã£º (1)¶ÔÄ£¿éµÄ¸Ä±ä¶¼ÐèÒªÖØÐ±àÒëPHP
¡¡¡¡(2)ÒòΪ±àÒë½øPHP£¬ËùÒÔPHP¶þ½øÖÆÎļþ½Ï´ó£¬¶øÇÒ¶àÕ¼µãÄÚ´æ
¡¡¡¡3. The Zend Engine
¡¡¡¡Zend ºËÐÄÀïʵÏÖ £¨ÂÔ ... ÓÐÐËȤµÄ»°¿ÉÒÔ¿´ Zend API£©
¡¡¡¡Note: ±¾ÈËÍÆ¼öÓà µÚ 2 ÖÖ·½Ê½£¬Ö±½Ó±àÒë½øPHP£¬ µ«ÊÇÔÚÏÂÃæÊ¾ÀýÀÎÒÃDZàÒë³ÉÍⲿģ¿é
¡¡¡¡£¬ÒòΪ£¬Íⲿģ¿é²»ÐèÒªÖØÐ±àÒë PHP£¬ËùÒÔÔÚ²âÊÔ½×¶ÎÏȱàÒë³É¹²Ïí¿â£¬È»ºóÓÃdl()
¡¡¡¡¼ÓÔØ(²»¹ý¼ÇµÃÔÚphp.iniÀォ°²È«Ä£Ê½ÉèΪ Off)£¬²âÊÔÍêºóÔÙÓõÚ2ÖÖ·½Ê½ÖØÐ±àÒë½ø PHP.
¡¡¡¡1. Ê×ÏÈÏÂÔØ PHP Ô´´úÂ룬 ½âѹ¡£ È»ºóÎÒÃÇ¿ªÊ¼¹¹½¨´úÂë½á¹¹£¬¿ÉÒÔÀûÓà PHP Ô´´úÂë°üextĿ¼ÀïÌṩµÄ ext_skel ³ÌÐòÈ¥Éú³ÉÎÒÃÇÐèÒªµÄ½á¹¹.
¡¡¡¡[ext]#./ext_skel --extname=my_php_module
¡¡¡¡ÕâÑù»áÔÚextÏÂÉú³ÉÒ»¸ö my_php_moduleĿ¼¡£
¡¡¡¡Ä¿Â¼ÀïÓÐ config.m4, my_php_module.h, my_php_module.c µÈ¼¸¸öÎļþ¡£
¡¡¡¡2. my_php_modu


Ïà¹ØÎĵµ£º

C/C++º¯Êý²ÎÊý,´«ÖµÓò´«Ö·µÄÇø±ð!!!

/*
* File: main.cpp
* Author: Vicky
*
* Created on 2010Äê5ÔÂ8ÈÕ, ÏÂÎç2:47
*/
#include <iostream>
using namespace std;
class A{
public:
A(){
cout << "Ö´Ðй¹Ô캯Êý´´½¨Ò»¸ö¶ÔÏó" << endl;
}
A(A&){
cout << "Ö´Ðп½±´º¯Êý¿½±´Ò»¸ö¶ ......

(ת£©Ñ§Ï°c/c++µÄ50¸öºÃÍøÕ¾

1¡¢http://snippets.dzone.com/tag/c/ --ÊýÒÔǧ¼ÆµÄÓÐÓõÄCÓïÑÔÔ´´úÂëÆ¬¶Î
2¡¢http://www.hotscripts.com/category/c-cpp/scripts-programs/ Hotscripts --ÌṩÊýÒ԰ټƵÄCºÍC++½Å±¾ºÍ³ÌÐò¡£ËùÓгÌÐò¶¼·ÖΪ²»Í¬µÄÀà±ð¡£
3¡¢http://www.planetsourcecode.com/vb/default.asp?lngWId=3 --³¬¹ýÍòÐÐCºÍC++Ãâ·ÑµÄÔ´´úÂë
4¡ ......

C preprocessor

http://en.wikipedia.org/wiki/C_preprocessor
C preprocessor
from Wikipedia, the free encyclopedia
Jump to:navigation, search
The C preprocessor (cpp) is the preprocessor for the C programming language. In many C implementations, it is a separate program invoked by the compiler as the first part ......

¡¾Á´½Ó¡¿C/C++ Online Reference


C/C++ Reference 
http://www.cppreference.com/ 
C++ Library Reference 
http://www.cplusplus.com/ref/ 
Standard C++ Library Class Reference at Rogue Wave 
http://www.roguewave.com/support/docs/hppdocs/stdref/ 
Dink ......

C¼¼ÇÉʰÒÅ~

1. ÔõÑù½¨Á¢ºÍÀí½â·Ç³£¸´ÔÓµÄÉùÃ÷£¿ÀýÈ綨ÒåÒ»¸ö°üº¬N ¸öÖ¸Ïò·µ»ØÖ¸Ïò×Ö·ûµÄÖ¸ÕëµÄº¯ÊýµÄÖ¸ÕëµÄÊý×飿
Õâ¸öÎÊÌâÖÁÉÙÓÐÒÔÏÂ3 ÖÖ´ð°¸:
1. char *(*(*a[N])())();
2. ÓÃtypedef Öð²½Íê³ÉÉùÃ÷:
typedef char *pc;  /* ×Ö·ûÖ¸Õë*/
typedef pc fpc(); /* ·µ»Ø×Ö·ûÖ¸ÕëµÄº¯Êý*/
typedef fpc *pfpc; /* ÉÏÃæº¯ÊýµÄÖ¸Õë*/ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ