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

linux systemº¯ÊýÔõôÓÃ

ÎÒÓÃÁË£¬µ«³ö´íÁË
³ÌÐòΪ
#include <stdlib.h>
int main()
{
system("ls /etc/");
return 0;
}
Óà gcc -o test test.cpp ±àÒëºó±¨´í
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:77: undefined reference to `main'
collect2: ld returned 1 exit status

Ôõô½â¾ö£¿¼±°¡
ÓÃg++,Èç¹ûÓÃgcc±ØÐë¼Ó-lstdc++

ÒýÓÃ
ÓÃg++,Èç¹ûÓÃgcc±ØÐë¼Ó-lstdc++


²»Ðа¡¸çÃÇ£¬»¹ÓÐÆäËûµÄ·½·¨Â

ʹÓÃgcc  -g  -o  test  test.c ÊÔÊÔ¿´¡£


ÁíÍâÄãµÄmainº¯Êý²ÎÊý²»¶Ô£¬±ê׼д·¨ÊÇ£ºint main( int argc, char * argv [] )


g++ -o test test.cpp

Èç¹ûÒªÓÃgcc

gcc -o test test.cpp -lstdc++

ÐÖµÜÃÇÎҷdz£¶Ô²»Æð´ó¼Ò£¬ÎÒ°Ñmain д³ÉÁËmian¡£¡£¡£¡£¡£¡£¡£¡£¡£
É¢·ÛÉ¢·Û


Ïà¹ØÎÊ´ð£º

Linuxϰ²×°ÎÊÌâ

Ô­ÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØÐ±àÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌ⣬ÎÒ²»Ì«Ã÷°×Ôõô»ØÊ£¬Çë¸÷λ´óϺָµãһϡ£
ÊÖ¶¯ÔÙ×°Ò»´Îglibc*_3.4.9

ÕâÊÇÎ ......

¹ØÓÚLINUXµÄÎÊÌâ--ºÃ¾ÃûÉÏÀ´ÁËûÓзÖÁËÏÈлл´ó¼ÒÁË

ÎÒÔÚLINUXÉÏÓÐÁ½¸öÓû§
Ò» root
¶þ myadmin

¡¾myadmin@localhost~¡¿$ dir
Desktop myphp
[myadminlocalhost~]$ cd myphp¡¢DesktopÄܽøÈ¥ÆäËûµÄϵͳĿ¼½ø²»È¥
Ö»ÓÐÕâÁ½¸öĿ¼ ÎÒÏë½øÈëÆäËûµÄÏ ......

LinuxÈçºÎÔÚͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»

¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£
¼±¼±¼±

......

ÔÚ LINUXϵͳÖеÄORACLEÔõôн¨±í¿Õ¼ä£¿

Çë½Ì£º
ÔÚ LINUXϵͳÖеÄORACLEÔõôн¨±í¿Õ¼ä£¿
Ò»ÑùµÄÃüÁî°¡¡£Èç¹ûûÓÃomfµÄ»°£¬Äã¾ÍÖ¸¶¨Ï·¾¶ºÍÊý¾ÝÎļþÃû¾ÍÐÐÁË¡£
create tablespace xxx datafile '/u01/..../aaa.dbf' size 10m;

CREATE TA ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ