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

linux³õѧÕßÇë½Ìlinux C++±à³Ìѧϰ

windows ϵÄC++±à³Ì±È½ÏÊìÁ·¡£ÏÖÔÚÐèҪתÈëlinuxÏ¡£

  ÎÒÓõÄÈí¼þÊÇ  Source InsightºÍ SecureCRT , Ô¶³ÌÁ¬½Ó linux·þÎñÆ÷¡£ 

  ÓÉÓÚÎÒµÄ Liunx»ù´¡Îª0. ¾ÍÊÇ˵ÒÔÇ°´ÓÀ´¶¼Ã»ÓнӴ¥¹ýliunx. ËùÒÔÏò´ó¼ÒÇë½Ìѧϰ·½·¨¡£

  1. ÎÒÏÖÔÚ ÏëѧϰlinuxÏÂC++±à³Ì¡£ ²»ÖªµÀ´ÓÄÄѧÆð¡£  ÎÒѧϰµÄ ˳ÐòÓ¦¸ÃÊÇʲôÄØ£¿
 
Á˽âÒ»ÏÂgcc/g++ºÍmakefile, È»ºó¾Íд´úÂë°É...

ÒýÓÃ
Á˽âÒ»ÏÂ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)


ÒýÓÃ
·¢ÏÖÎÊÌâ, ËÑË÷½â¾ö°ì·¨, ѧLinux×î¿ìµÄ·½Ê½, Ò»Çж¼×¼±¸ºÃÁËÔÙȥʵ¼ù,Ì«Âý

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


Ïà¹ØÎÊ´ð£º

Ë­Äܸø¸öLinuxÏÂдC/C++³ÌÐòµÄ½Ì³Ì£¿

¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£

Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼­¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......

C¡¢C++¡¢VC++ ¾«Æ·µç×ÓÊé·¢²¼À²£¡

ÄÚÈÝÉæ¼°£ºC¡¢C++¡¢STL¡¢VC++¡¢MFC¡¢COM¡¢ATL¡¢WindowsÍøÂç±à³Ì¡¢Êý¾Ý¿â±à³Ì¡¢WindowsÇý¶¯±à³Ì¡¢Èí¼þ¹¤³Ì¡¢Windows²Ù×÷ϵͳ±à³Ì£¬µÈµÈ·½Ãæ¡£

ÏÂÔصØÖ·£ºhttp://www.cctry.com/forumdisplay.php?fid=46

......

cºÍc++ÖеÄconstµÄÇø±ð

ÏÈ¿´Ò»¸ö³ÌÐò
#include <stdio.h>

int main()
{
const int a = 5;
int b[a];

return 0;
}
ÔÚvc6.0ÖÐÃüÃûΪ.cÎļþ£¬±àÒë»á³ö´í£¬ÊÇint b[a]ÕâÒ»ÐУºexpected constant exp ......

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ