linux³õѧÕßÇë½Ìlinux C++±à³Ìѧϰ
windows ϵÄC++±à³Ì±È½ÏÊìÁ·¡£ÏÖÔÚÐèҪתÈëlinuxÏ¡£
ÎÒÓõÄÈí¼þÊÇ Source InsightºÍ SecureCRT , Ô¶³ÌÁ¬½Ó linux·þÎñÆ÷¡£
ÓÉÓÚÎÒµÄ Liunx»ù´¡Îª0. ¾ÍÊÇ˵ÒÔÇ°´ÓÀ´¶¼Ã»ÓнӴ¥¹ýliunx. ËùÒÔÏò´ó¼ÒÇë½Ìѧϰ·½·¨¡£
1. ÎÒÏÖÔÚ ÏëѧϰlinuxÏÂC++±à³Ì¡£ ²»ÖªµÀ´ÓÄÄѧÆð¡£ ÎÒѧϰµÄ ˳ÐòÓ¦¸ÃÊÇʲôÄØ£¿
Á˽âÒ»ÏÂgcc/g++ºÍmakefile, È»ºó¾Íд´úÂë°É...
¡¢
лл¥ÉÏ¡£ ÇëÎÊÓРûÓРʲô×ÊÁÏÍƼö°¡£¿
·¢ÏÖÎÊÌâ, ËÑË÷½â¾ö°ì·¨, ѧLinux×î¿ìµÄ·½Ê½, Ò»Çж¼×¼±¸ºÃÁËÔÙȥʵ¼ù,Ì«Âý
build tool: makefile
compiler: gcc/g++
editor: vim/emacs
source code cross referrence: cscope/ctag
ide: eclipse/or other
system programming: Unix Environment Advance Programming(? forget the name)
support
build tool: makefile
compiler: gcc/g++
ÕâÁ½¸ö ¶«Î÷ÄÜ°ïÖúÍƼöһϠ×ÊÁÏÂð£¿
ÏȰѼòµ¥µÄshellѧѧ°É
ÎÒÒ²ÔÚѧlinux ϵÄc/c++±à³Ì£¬Ò»ÆðŬÁ¦£¬LinuxÓëunix shell±à³ÌÖ¸ÄϺÍLinux²Ù×÷ϵͳÏÂCÓïÑÔ±à³ÌÈëÃÅÕâÁ½±¾Ê黹ͦºÃµÄ
http://www.oreilly.com.cn/indexcat.php?c=linux
ÖÐÎÄ°æÊéÄ¿
¡¶Apache CookbookÖÐÎİ棨µÚ¶þ°æ£©¡· New!
¡¶Linux
Ïà¹ØÎÊ´ð£º
¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£
Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......
ÄÚÈÝÉæ¼°£ºC¡¢C++¡¢STL¡¢VC++¡¢MFC¡¢COM¡¢ATL¡¢WindowsÍøÂç±à³Ì¡¢Êý¾Ý¿â±à³Ì¡¢WindowsÇý¶¯±à³Ì¡¢Èí¼þ¹¤³Ì¡¢Windows²Ù×÷ϵͳ±à³Ì£¬µÈµÈ·½Ãæ¡£
ÏÂÔصØÖ·£ºhttp://www.cctry.com/forumdisplay.php?fid=46
......
ÏÈ¿´Ò»¸ö³ÌÐò
#include <stdio.h>
int main()
{
const int a = 5;
int b[a];
return 0;
}
ÔÚvc6.0ÖÐÃüÃûΪ.cÎļþ£¬±àÒë»á³ö´í£¬ÊÇint b[a]ÕâÒ»ÐУºexpected constant exp ......
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......