ice×î¼òµ¥ÊµÏÖ ¸½ÉÏruby¡¢C++ ¿Í»§¶Ë´úÂë
¹«Ë¾ÀïÔ½À´Ô½¶àµÄ½Ó¿ÚÒÔICE·½Ê½ÌṩÁË£¬ÒÔǰû½Ó´¥¹ý£¬ËùÒÔÎÒÕâÁ½ÌìÒ²³éÁ˵ãʱ¼äÑо¿ÁËÏÂICE£¬²Î¿¼ÁËÍøÉϺܶàÌû×Ó£¬²ÅÖÕÓÚÅÜͨµÚÒ»¸ö¼òµ¥µÄICE
½ÓÏÂÀ´ÌùÉÏÎÒËùÓл·¾³µÄ´î½¨¹ý³ÌÒÔ¼°´úÂ룬ºÍ´ó¼Ò·ÖÏíÏÂICEËù´øÀ´µÄ¿ìÀÖ
ICEÊÇʲôÎҾͲ»¶à˵ÁË
1¡¢ Ò»¿î¸ßÐÔÄܵÄÖмä¼þ£¬»ùÓÚICE¿ÉÒÔʵÏÖµçÐż¶µÄ½â¾ö·½°¸¡£
2¡¢Ice Ó¦ÓÃÊʺÏÓÚÒ칹ƽ̨»·¾³ÖÐʹÓ㺿ͻ§ºÍ·þÎñÆ÷¿ÉÒÔ²ÉÓò»Í¬µÄ±à³ÌÓïÑÔ£¬¿ÉÒÔÔËÐÐÔÚ²»Í¬µÄ²Ù×÷ϵͳºÍ»úÆ÷¼Ü¹¹ÉÏ
3¡¢Ä¿Ç°Ö§³ÖC++,JAVA,C#,VB,Python,Ruby,PHPµÈ¶àÖÖÓïÑÔ£¬¶àÖÖÓïÑÔÖ®¼ä²ÉÓù²Í¬µÄSlice£¨Specification Language for Ice£©½øÐйµÍ¨¡£
ÏëÖªµÀ¸ü¶àÇëÈ¥http://www.zeroc.com/
ÎÒÕâÀïÓÃÁËÁ½Ì¨»úÆ÷£¬Ò»Ì¨ÊÇlinux rdhl5 һ̨ÊÇxp ÔÚlinuxÉÏÅÜÒ»¸öC++·þÎñ¶Ë³ÌÐòºÍÒ»¸öC++¿Í»§¶Ë³ÌÐò£¬xpÉÏÅÜÒ»¸öruby¿Í»§¶Ë³ÌÐò
Ê×ÏÈ¿ªÊ¼´î½¨»·¾³……
1¡¢linuxÉÏICE»·¾³
ÓÉÓÚÎҵĻúÆ÷ÊÇrdhl5£¬ÎÒÈ¥¹ÙÍøÉÏϵÄIce-3.3.1-rhel5-i386-rpm.tar.gz
http://www.zeroc.com/download/Ice/3.3/Ice-3.3.1-rhel5-i386-rpm.tar.gz
½â¿ªÖ®ºó°üº¬ÒÔÏÂÎļþ
[root@localhost tmp]# tar -zxvf Ice-3.3.1-rhel5-i386-rpm.tar.gz
db46-4.6.21-3ice.rhel5.i386.rpm
db46-devel-4.6.21-3ice.rhel5.i386.rpm
db46-java-4.6.21-3ice.rhel5.i386.rpm
db46-utils-4.6.21-3ice.rhel5.i386.rpm
ice-3.3.1-1.rhel5.noarch.rpm
ice-c++-devel-3.3.1-1.rhel5.i386.rpm
ice-java-3.3.1-1.rhel5.noarch.rpm
ice-java-devel-3.3.1-1.rhel5.i386.rpm
ice-libs-3.3.1-1.rhel5.i386.rpm
ice-php-3.3.1-1.rhel5.i386.rpm
ice-python-3.3.1-1.rhel5.i386.rpm
ice-python-devel-3.3.1-1.rhel5.i386.rpm
ice-ruby-3.3.1-1.rhel5.i386.rpm
ice-ruby-devel-3.3.1-1.rhel5.i386.rpm
ice-servers-3.3.1-1.rhel5.i386.rpm
ice-utils-3.3.1-1.rhel5.i386.rpm
mcpp-devel-2.7.2-1ice.rhel5.i386.rpm
Ìض¨ÓïÑԵİüÄã¿ÉÒÔÑ¡ÔñÐÔ°²×°
±ÈÈçÎÒÕâÀï·þÎñ¶Ë¾ÍÅÜC++ ËùÒÔÕ⼸¸ö°üÎҾͿÉÒÔ²»ÓÃ×°ÁË
db46-java-4.6.21-3ice.rhel5.i386.rpm
ice-java-3.3.1-1.rhel5.noarch.rpm
ice-java-devel-3.3.1-1.rhe
Ïà¹ØÎĵµ£º
NetBeansÌṩÁËÒ»¸öºÜºÃµÄC/C++¿ª·¢»·¾³£¬Õâ¸ö¿ª·¢»·¾³ÊÇ»ùÓÚGCC±àÒëÆ÷£¬ËùÒÔÔÚWindowsÉÏÊÇÐèҪͨ¹ýÅäÖòÅÄÜʹÓÃNetBeansµÄC/C++ƽ̨¡£
ÅäÖÃÖ»ÓÐÈý²½£º
1¡¢ÏÂÔØMinGWºÍMSYS
2¡¢ÅäÖÃMSYSµÄ»·¾³±äÁ¿
3¡¢ÔÚNetBeansÖÐÅäÖÃC/C++ƽ̨
-------------------------
µÚÒ»²½£ºÏÂÔØMinGWºÍMSYS
Ê×ÏÈÐèÒªÏÂÔØMinGWºÍMSYS£¬MinGWÊ ......
ÔÚC++ÖУ¬¿âµÄµØλÊǷdz£¸ßµÄ¡£C++Ö®¸¸ Bjarne StroustrupÏÈÉú¶à´Î±íʾÁËÉè¼Æ¿âÀ´À©³ä¹¦ÄÜÒªºÃ¹ýÉè¼Æ¸ü¶àµÄÓï·¨µÄÑÔÂÛ¡£ÏÖʵÖУ¬C++µÄ¿âÃÅÀà·±¶à£¬½â¾öµÄÎÊÌâÒ²ÊǼ«Æä¹ã·º£¬¿â´ÓÇáÁ¿¼¶µ½ÖØÁ¿¼¶µÄ¶¼ÓС£²»ÉÙ¶¼ÊÇÈÃÈËÑÛ½ç´ó¿ª£¬Òà»òÊÇÍû¶øÉú̾µÄ˼ά½Ü×÷¡£ÓÉÓÚ¿âµÄÊýÁ¿·Ç³£ÅӴ󣬶øÇÒÏÞÓÚ±ÊÕßˮƽ£¬ÆäÖкܶಢ²»Á˽⡣ËùÒÔÎÄÖ ......
LinuxÏÂͨ³£Ê¹ÓÃÃâ·ÑµÄ±àÒëÆ÷gcc¡£ÆäÖÐgccÖ÷ÒªÓÃÀ´±àÒëCÓïÑÔ´úÂ룬g++Ö÷ÒªÓÃÀ´±àÒëC++´úÂë¡£Èç¹ûÏëÓÃgcc±àÒëc³ÌÐò£¬ÔòҪעÒâCÓëC++¶ÔÓï·¨ÒªÇóµÄ²»Í¬µã£¬ÀýÈ磺
1) C³ÌÐòÊÇ´Ómainº¯Êý¿ªÊ¼£¬C++³ÌÐòÊÇ´ÓÈ«¾Ö±äÁ¿µÄ¹¹Ô캯Êý¿ªÊ¼
2) ±äÁ¿±ØÐëÉùÃ÷ÔÚÓï¾äÇ°
3) ûÓÐboolÀàÐÍ
4) ÉùÃ÷ö¾Ù±äÁ¿ÊDZØÐëÔÚö¾Ù ......
CÓïÑÔÖÐÅÅÐòµÄËã·¨ÓкܶàÖÖ£¬ÏµÍ³Ò²ÌṩÁËÒ»¸öº¯Êýqsort()¿ÉÒÔʵÏÖ¿ìËÙÅÅÐò¡£ÔÐÍÈçÏ£º
void qsort(void *base, size_t nmem, size_t size, int (*comp)(const void *, const void *));
Ëü
¸ù¾ÝcompËùÖ¸ÏòµÄº¯ÊýËùÌṩµÄ˳Ðò¶ÔbaseËùÖ¸ÏòµÄÊý×é½øÐÐÅÅÐò£¬nmemΪ²Î¼ÓÅÅÐòµÄÔªËظöÊý£¬sizeΪÿ¸öÔªËØËùÕ¼µÄ×Ö½ÚÊý¡£Àý È ......
1.ÒýÑÔ
¡¡¡¡C++ÓïÑԵĴ´½¨³õÖÔÊÇ“a better C”£¬µ«ÊÇÕâ²¢²»Òâζ×ÅC++ÖÐÀàËÆCÓïÑÔµÄÈ«¾Ö±äÁ¿ºÍº¯ÊýËù²ÉÓõıàÒëºÍÁ¬½Ó·½Ê½ÓëCÓïÑÔÍêÈ«Ïàͬ¡£×÷ΪһÖÖÓûÓëC¼æÈݵÄÓïÑÔ£¬C++±£ÁôÁËÒ»²¿·Ö¹ý³ÌʽÓïÑÔµÄÌص㣨±»ÊÀÈ˳ÆΪ“²»³¹µ×µØÃæÏò¶ÔÏ󔣩£¬Òò¶øËü¿ÉÒÔ¶¨Òå²»ÊôÓÚÈκÎÀàµÄÈ«¾Ö±äÁ¿ºÍº¯Êý¡£µ«ÊÇ£¬C++±Ï¾ ......