ÔÚEclipseϵÄC/C++¿ª·¢£¨Eclipse3.2 + CDT 3.1£©
ÒªÈà Eclipse ¿ÉÒÔ¿ª·¢ C/C++ ³Ìʽ£¬Òª¹ÒÉÏ CDT ²Å¿ÉÒÔ¡£
Ê×ÏÈÒªÏÂÔØCDT
CDTµÄ×îа汾ÊÇ 3.1.0£¬ËüÖ§³Öeclipse3.2.0£¬ÆäÏÂÔصØÖ·£ºhttp://download3.eclipse.org/tools/cdt/releases/callisto/dist/3.1.0/£¬»òÕßÊǵ½http://www.eclipse.org/cdt/downloads.phpÏÂÔØÆäËü°æ±¾¡£Èç¹ûÄã°²裝µÄ Eclipse ÊÇ 3.0.x °æ¾Í±Ø須°²裝 CDT 2.1.1 ×îаæ
Èç¹û°²裝µÄ Eclipse ÊÇ 3.1.x °æ£¬¾Í±Ø須°²裝 CDT 3.0 °æ
½ÓÏÂÀ´ÊÇ°²裝
½«½âѹºóµÄfeatures¡¢pluginsÕû¸öÎļþ¼Ð¸´ÖƵ½Eclipse°²裝Ŀ¼ÖУ¬ÖØÐÂÆô¶¯Eclipse¼´¿É¡£ÔÚ½¨Á¢ÐÂÏîÄ¿µÄ´°¿ÚÀ¿´µ½ÒѾÓÐÁË C ¼° C++ µÄÑ¡Ï´ú±í°²裝³É¹¦ÁË¡£Èç¹û¿´²»µ½£¬ºÇºÇ£¬Äã¾Í×Ô¼ºÔÙÊÔ°É¡£
»¹Òª°²裝MinGW——Minimalist GNU for Windows
ËäÒÑÔÚ EclipseÉÏ°²×°ÁËCDT£¬µ«»¹ÐèÒªÒ»¸ö "±àÒïÆ÷" ²ÅÄܱàÒï³Ìʽ£¬ËùÒÔÒªÏÂÔØ¿ÉÔÚWindows»·¾³ÀïʹÓõÄGNU C¡¢C++±àÒïÆ÷£¬ÎÒÕâÀïÒªÏÂÔصÄÊÇ£ºMinGW¡£ËüµÄÏÂÔصØÖ·£ºhttp://sourceforge.net/project/showfiles.php?group_id=2435£¬Èç¹ûûÕÒµ½£¬Ò²¿Éµ½ËüµÄÀϼÒÈ¥ÕÒ£¬ÀϼҵØÖ·ÊÇhttp://www.mingw.org/download.shtml¡£ÎÒÓõÄÊÇ×îа汾£ºMinGW 5.0.3¡£
°²×°¾Í²»Óð³½²ÁË°É£¬¼ÙÉè°²×°ÔÚX:\MinGW¡£°²×°ºóÒªÉèÖÃÆä»·¾³±äÁ¿(Ëĸö)£º
PATH £º
X:\MinGW\bin;
LIBRARY_PATH£º
X:\MinGW\lib
C_INCLUDE_PATH£º
X:\MinGW\include
CPLUS_INCLUDE_PATH£º
X:\MinGW\include\c++\3.2.3;C:\MinGW\include\c++\3.2.3\mingw32;C:\MinGW\include\c++\3.2.3\backward;C:\MinGW\include
»¹ÓÐÁ½¸öϸ½Ú£º
1¡¢ÒòΪEclipseÀïÃæÔ¤ÉèÓÃÀ´±àÒïµÄÎļþÃûΪmake.exe£¬¶øÔÚMingw°²裝ºóÓÃ×÷makeµÄÎļþÃûΪmingw32-make.exe£¬ËùÒÔÒª°Ñmingw32-make ¸ÄÃûΪma
Ïà¹ØÎĵµ£º
ÔÚ Web Ó¦ÓóÌÐò»·¾³ÖУ¬µü´úÖ÷ÒªÓÃÓڷôæºÍÏÔʾÊý¾Ý¼¯£¬Í¨³£ÊÇÒÔÁбí»ò±íÖеÄһϵÁÐÐеÄÐÎʽÏÔʾ¡£ÊµÏÖµü´úÄÚÈݵÄÖ÷Òª JSTL ²Ù×÷ÊÇ <c:forEach>; ¶¨ÖƱê¼Ç¡£¸Ã±ê¼ÇÖ§³ÖÁ½ÖÖ²»Í¬ÑùʽµÄµü´ú£ºÕûÊý·¶Î§Éϵĵü´ú£¨ÀàËÆ Java ÓïÑ﵀ for Óï¾ä£©ºÍ¼¯ºÏÉϵĵü´ú£¨ÀàËÆ Java ÓïÑ﵀ Iterator ºÍ Enumeration Àࣩ¡£
½øÐÐÕûÊ ......
CºÍC++ÖеÄÖ÷ÒªÊý¾ÝÀàÐͺÍ×Ö½Ú´óС(
C/C++µÄд·¨ÊDz»¿ÆѧºÍ²»ÑϽ÷µÄ¡£ÒòΪCºÍC++ËäÈ»ÓïÒ壬µ«ÊÇÉè¼Æ˼ÏëÊǽṹ»¯ÓëÃæÏò¶ÔÏó. C±ê×¼¹æ·¶ÓëC++µÄ±ê×¼¹æ·¶Ò²ÊÇÁ½¸öÎı¾¡£½üÀ´×ÐϸÑо¿ÁËËüÃǵÄÊý¾ÝÀàÐÍ£¬²ÅÖªµÀÆäÀ´ÁúÈ¥Âö£¬ÕæÕý×öµ½ÆäʵËùÒÔÈ»¡£
1¡¢CÓïÑÔ¶¨ÒåÁË5ÖÖ»ù±¾Êý¾ÝÀàÐÍ
char(×Ö·û), int(Õ ......
1.Ê×ÏÈ¿´¶®¹Ù·½Îĵµ
2.icbc.jarÕâ¸öjar°üÒ»¶¨ÒªÒªµ½£¡ÕâÊǽøÐÐbase64¼ÓÃܽâÃÜ£¬ÒÔ¼°
ʹÓù¤ÐÐÖ¤ÊéÇ©ÃûµÄÖØÒª¹¤¾ßÀà¡£
3.²ÉÈ¡´¿Java±àÂ룬Ҫȷ±£ÓöÔÖ¤Ê飬·ÅÔÚDÅ̸ùĿ¼ÏÂ(ÆäËû·¾¶Òà¿É)¡£
4.±àдJSP½Ó¿ÚÒ³Ã棬×ֶαØÐëÓ빤ÐеÄÒ»Ò»¶ÔÓ¦¡£
¶øÇÒÈçtranDataµÈ×ֶνøÐÐbase64¼ÓÃܺó»òÕßÇ©Ãûºó ±ØÐëÒÔ"“Ë«ÒýºÅÀ©ÉϲŠ......
access£¨ÅжÏÊÇ·ñ¾ßÓдæÈ¡ÎļþµÄȨÏÞ£©
¡¡¡¡Ïà¹Øº¯Êý stat£¬open£¬chmod£¬chown£¬setuid£¬setgid
¡¡¡¡±íÍ·Îļþ #include<unistd.h>
¡¡¡¡¶¨Ò庯Êý int access(const char * pathname,int mode);
¡¡¡¡º¯Êý˵Ã÷ access()»á¼ì²éÊÇ·ñ¿ÉÒÔ¶Á/дijһÒÑ´æÔÚµÄÎļþ¡£²ÎÊýmodeÓм¸ÖÖÇé¿ö×éºÏ£¬R_OK ......
×î½üÐèҪдһ¶Î³ÌÐò£¬Íê³ÉÒÔÏµĹ¤×÷£¬ÓÃjava½«Êý¾ÝÒÔ¶þ½øÖƵÄÐÎʽдÈëÎļþÖУ¬È»ºóÓÃC¶Á³ö´Ë¶þ½øÖÆÎļþ¡£
¿ªÊ¼µÄʱºòûÓп¼ÂÇ»úÆ÷µÄ×Ö½ÚÐò£¬Ö±½Ó¸ã³ösegment fault.ÏëÁ˺ܾ㬲ÅÃ÷°×ÔÀ´ÊÇjavaºÍCµÄ×Ö½ÚÐòÊDz»Ò»ÑùµÄ¡£
javaÖеÄ×Ö½ÚÐòÊÇbig endianµÄ£¬ËüÊÇÓë»úÆ÷Î޹صġ£¶øcµÄ×Ö»úÐòÊÇ»úÆ÷Ïà¹ØµÄ£¬¶øµ±Ç°ÓõĻúÆ÷ÊÇx84 ......