GCCÊÇÃâ·ÑµÄÂð£¿ÄÇÓУ¿
LINUXϵͳÔõôװ£¿
ÖÐÎÄÔõôÉèÖã¿
Äã×°ÍêLinuxϵͳ¾Í»á×Ô´øGCC£¬windowsÏÂÒ²ÓÐGCC£¬±ÈÈçdev-c++,CODE::Blocks
linuxϵͳ°²×°¸ù¾Ý²»Í¬µÄlinux°æ±¾ÍøÉ϶¼Óн̳̣¬¿´Ï¾ͺÃÁË£¬Ö÷ÒªÊÇÊÖ¶¯·ÖÇøÄÇŪһϾͿÉÒÔÁË
×°linuxʱºò£¬Ñ¡ÔñÖÐÎÄ£¬ÖÐÎľͻá×Ô¶¯ÉèÖúÃ
1.GCC×°ºÃLinux¾ ......
ÁÓÊÆ£º
1. ÊìϤLinuxµÄÈ˲»¶à£¬ÊìϤËüÐèÒª½Ï³¤Ê±¼ä¡£
2. ÖÐÎÄ×ÊÔ´²»¹»¶à£¬ÍùÍù²»È«»òÕß²»¹»Ð¡£
3. ¹ýȥѧµÄºÜ¶àwindowsµÄ¶«Î÷£¬µ½LinuxÏÂÐв»Í¨¡£
4. ³äÂúLinux·çζµÄvim/emacsÉÏÊÖÄÑ£¬Ðè´óÁ¿Ê¹ÓòÅÄÜÊìÁ·¡£
5. Ãż÷¸ß£¬³õѧʱѧϰÄѶÈÇúÏ߶¸ÇÍ¡£
ÓÅÊÆ£º
1. ÎïÒÔϡΪ¹ó£¬ÕÆÎÕLinuxµÄ ......
09½ì¼ÆËã»úרҵ±¾¿ÆÉú£¬¸Õ²Î¼Ó¹¤×÷²»¾Ã£¬·¢ÏÖ×Ô¼º¶®µÃ¶«Î÷ÕæÊÇÌ«ÉÙÁË£¬ÏÖÔÚ´ÓÊÂǶÈëʽ¿ª·¢£¬±ØȻҪѧϰlinux ºÍc/c++
c£«£«Õâ¶Îʱ¼äѧµÄÒ²ËãÂíÂí»¢»¢£¬±¾È˼ƻ®½ÓÏÂÀ´ÏÈÖƶ¨Ò»¸ö±È½ÏºÏÀíµÄѧϰ¼Æ»®£¬Ï£Íû¸÷λǰ±²´óÏÀÖ¸µã.
°üÀ¨Ò»Ð©¾µäµÄÊé¼®£¬Ô´Â룬Ҳ¿ÉÒÔ̸̸ѧϰµÄ¹ý³Ì£¬±ÈÈçÏÈѧʲôºóѧʲôµÄ£¬ÏÈллÁË
sf × ......
¸÷룬ÎÒÓÐÈçÏ´úÂ룺
struct statfs diskStatfs;
statfs("/", &diskStatfs);
long iTotalCapacity = diskStatfs.f_blocks * (diskStatfs.f_bsize / £¨1024 * 1024)£©; (Mb)
long iFreeCapacity = diskStatfs.f_bfree * (diskStatfs.f_bsize / £¨1024 * 1024)£©; (Mb)
ÎÒÏë»ñµÃϵͳµÄ ......