linuxµÄÒì³£²¶»ñ
ÇëÎÊLinuxÏÂʹÓÃg++±àÒëµÄʱºòÔÚMakefileµ±ÖÐÐèÒªÖ¸¶¨Ê²Ã´²ÎÊý²ÅÄÜʹ²¶»ñµ½Òì³££¿
ÄãÊÇÖ¸±àÒëʱµÄ´íÎó£¿
C++ ÓïÑÔÓÐ×Ô¼ºµÄ¹Ø¼ü×ÖÀ´²¶×½³ÌÐòÒì³££º
C/C++ code:
try
]
catch(...)
{
cout << "catch all exception\n";
}
C/C++ code:
// ¸üÕý
try
{
}
catch(...)
{
cout << "catch all exception\n";
}
лл£¬ÎÒÖªµÀtry/catch£¬ÏÖÔÚµÄÎÊÌâÊÇÎÒµÄtryµ±Öз¢ÉúµÄÒì³££¬Ã»ÓÐÔÚcatchµ±Öв¶»ñµ½¡£ÎÒ²»È·¶¨ÊDz»ÊÇMakefileµ±ÖÐÊÇ·ñÐèÒªÏñVCÒ»ÑùÖ¸¶¨¡°ÔÊÐíÒì³£´¦Àí¡±¡£
²»ÓÃʲô²ÎÊýÀ´Ö¸¶¨¡£
ÎÒÊÇ
try{
}
catch(...){
}
°´Àí˵£¬Ó¦¸ÃËùÓеÄÒì³£¶¼Äܲ¶»ñµ½£¬µ«ÊǾÍûÓв¶»ñµ½¡£ÔÚWindowsÉϾͿÉÒÔ¡£
È·ÈÏһϲúÉúÒì³£µÄµØ·½¾ÍÊÇÄĶδúÂ룿
ÌùÒ»ÏÂÇé¿ö¿´¿´¡£
C/C++ code:
unsigned int getSigInfo()
{
//ÔÚÕâÀï´ò¿ªÁËÒ»¸ö²»´æÔÚµÄÎļþ£¬ËùÒÔpFile = NULL,µ«ÊÇÒòΪûÓÐ×öÅжÏËùÒÔ
//·¢ÉúÒì³££¬ÕâÔÚWindowsµ±ÖпÉÒÔ²¶»ñµ½¡£
//µ«ÊÇÔÚLinuxÏÂ×ÜÊÇÎÞ·¨²¶»ñµ½
FILE* pFile = fopen("/home/lzq/log/bca_log1/test.cer", "wb");
fwrite("\r\n"
Ïà¹ØÎÊ´ð£º
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......
ÔÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØÐ±àÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌ⣬ÎÒ²»Ì«Ã÷°×Ôõô»ØÊ£¬Çë¸÷λ´óϺָµãһϡ£
ÊÖ¶¯ÔÙ×°Ò»´Îglibc*_3.4.9
ÕâÊÇÎ ......
¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£&nbs ......
Çë½Ì£º
ÔÚ LINUXϵͳÖеÄORACLEÔõôн¨±í¿Õ¼ä£¿
Ò»ÑùµÄÃüÁî°¡¡£Èç¹ûûÓÃomfµÄ»°£¬Äã¾ÍÖ¸¶¨Ï·¾¶ºÍÊý¾ÝÎļþÃû¾ÍÐÐÁË¡£
create tablespace xxx datafile '/u01/..../aaa.dbf' size 10m;
CREATE TA ......
ÎÒÓÃRPM±¨°²×°ÁËÒ»¸öÀϰ汾µÄJRE£¬ºóÀ´Ïëװа汾µÄ£¬
²»¹ý£¬ÎÒ°Ñ/usr/javaĿ¼ֱ½Ó¸øÉ¾ÁË£¬
ºóÔÙ°²×°µÄʱºò£¬×ÜÊÇÌáʾ°æ±¾³åÍ»£¬
¶øÇÒÎÒÓÃRPM°üÐ¶ÔØÊ±Ò²ÕÒ²»µ½ÎļþÁË¡£
ÎÒ¶ÔLINUX²»ÊìϤ£¬Ï£Íû¸ßÊÖ°ïæ¡£
http: ......