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

linux»·¾³Ï£¬c++¿âÎļþÖеķûºÅµÄº¬Òå

c++¿âÎļþÖеķûºÅµÄº¬Ò壺
      ËùÓеķûºÅ¶¼ÊÇÒÔÏ»®Ïß¼ÓÉÏ´óд×ÖĸҲ¾ÍÊÇ"_Z"¿ªÍ·£¬¶ÔÓÚÔÚ ÀàÀï»òÕßÃüÃû¿Õ¼äÖеķûºÅ£¬ºóÃæ½ô¸ú"N"£¬È»ºóÊǸ÷¸öÃüÃû¿Õ¼äºÍÀàµÄÃû×Ö£¬Ã¿¸öÃû×ÖǰÊÇÃû×Ö×Ö·û´®µÄ³¤¶È£¬ËæºóÊÇ´óд×Öĸ"E"£¬¶ÔÓÚÒ»¸öº¯Êý£¬ËûµÄ²ÎÊýÁÐ±í¶¼ÔÚEºóÃæ£¬±ÈÈç¶ÔÓÚfloatÀàÐÍ£¬¾ÍÊÇ×Öĸ"f"£¬¾Ù¸öÀý×Ó£¬¶ÔÓÚº¯ÊýN::C::func(int, float)£¬ÔÚ¿âÎļþ»òÕßÄ¿±êÎļþÖеķûºÅ¾ÍÊÇ_ZN1N1C4funcEif¡£ÔÚbinutilsÖÐÌṩÁËÒ»¸ö¹¤¾ßc++filt¿ÉÒÔÖ±½Ó½«·ûºÅ·­ÒëΪ´úÂëÖеÄÃû³Æ£¬±ÈÈçÃüÁîc++filt ZN1N1C4funcEif£¬Êä³ö½á¹ûÊÇN::C::func(int, float)


Ïà¹ØÎĵµ£º

BoostÏÂÔØ°²×°±àÒëÅäÖÃʹÓÃÖ¸ÄÏ£¨º¬WindowsºÍLinux£©

ÀíÂÛÉÏ£¬±¾ÎÄÊÊÓÃÓÚboostµÄ¸÷¸ö°æ±¾£¬ÓÈÆäÊÇ×îа汾1.39.0£»ÊÊÓÃÓÚ¸÷ÖÖC++±àÒëÆ÷£¬ÈçVC6.0£¨²¿·Ö¿â²»Ö§³Ö£©£¬VS2003£¬VS2005£¬VS2008£¬gcc£¬C++ BuilderµÈ¡£ÏÈ×ܽáÒ»ÏÂWindowsϵͳ¡£
Ò»¡¢ÏÂÔØ
Ê×ÏÈ´Óboost¹Ù·½Ö÷Ò³http://www.boost.org/ÏÂÔØ×îаæboost°²×°°ü£¨Ä¿Ç°×îаæÊÇ1.39.0£©¡£ÒòΪboostÒ»²¿·ÖÀàÊÇÐèÒª±àÒë³É¿â²Å ......

±¾È˳£ÓõĻù´¡ linuxÃüÁî

  Ò» »ù±¾µÄÎļþ²Ù×÷¼°ÏµÍ³²Ù×÷
н¨Ä¿Â¼                              mkdir –Ŀ¼Ãû
½«¹¤×÷Ŀ¼¸Ä±äµ½Dir        ......

¼¤¶¯ÖÐ~Äõ½ÁËUBUNTU¼ÄÀ´µÄLINUX¹âÅÌ£¡

¼¤¶¯°¡£¬½ñÌìÏÂÎç·ÅѧÀíÍê·¢»ØÀ´ÎÒ°Ö¸æËßÎÒ˵¼ÄÀ´Ñù¶«Î÷£¬»¹ÊÇ´Ó¹úÍâ¼ÄÀ´µÄ£¡ÕâÊÇÎÒµÚÒ»´Î´Ó¹úÍâ±ðÈ˸øÎҼĶ«Î÷¡£·Ï»°²»¶à˵£¬ÉÏͼ²ÅÊÇÍõµÀ¡£ÓÉÓÚÅÄÉãÌõ¼þ¹ýÓÚ¼òª£¨ÁªÏëI398ÊÖ»ú+ÊÖµçͲ£©£¬Óе㱭¾ßÁË¡£
°ü¹üÕýÃæµÄÍâ°ü×°
°ü¹ü±³Ã棨Ϊ·ÀÖ¹¸öÈËÐÅϢй¶ÄÃÅçÆáºÍгÁËһϣ©
°ü¹ü×îÉÏÃæ£¬ÓÉÓÚÓ¢ÓïˮƽÓÐÏÞÿ̫¿´¶®ÊÇÊ²Ã´Ò ......

C++ µ÷C Cµ÷c++

Ò»¡¢c++ µ÷C:
/* cÓïÑÔÍ·Îļþ£ºcExample.h */
#ifndef C_EXAMPLE_H
#define C_EXAMPLE_H
#ifdef __cplusplus
extern "C"
{
#endif
int add(int x,int y);
#ifdef __cplusplus
}
#endif
 
#endif
/* cÓïÑÔʵÏÖÎļþ£ºcExample.c */
#include "cExample.h"
int add( int x, int y )
{
 return ......

LinuxÏÂApache2+MySQL5+PHP5°²×°

°²×°»·¾³£ºVMware Workstation 5.5.0 build-18463
Linux°æ±¾£ºRed Hat Enterprise Linux AS (2.6.9-42.EL)
Èí¼þ°æ±¾£ºMySQL5 - mysql-5.0.37.tar.gz
¡¡¡¡¡¡¡¡¡¡Apache2 - httpd-2.2.4.tar.gz
¡¡¡¡¡¡¡¡¡¡PHP5 - php-5.2.1.tar.gz
¡¡¡¡¡¡¡¡¡¡(½«ÒÔÉÏÎļþ±£´æÖÁ/home/tmpĿ¼)
[MySQL]
# cd /home/tmp (½øÈëѹËõ°ü ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ