Googleã¯ãC++éçºè ã®ããã®4ã¤ã®ã©ã¤ãã©ãªãå ¬éãã¦ããã å ¬éããã¦ããã®ã¯ãC++/Pythonåãã³ãã³ãã©ã¤ã³ã©ã¤ãã©ãªãgflagsããé«éãªãã«ãã¹ã¬ããmallocã®ã³ã¬ã¯ã·ã§ã³ã§ãTCMallocãheap-checkerãheap-profilerãcpu-profilerãå«ããperftoolsããããã©ã¼ãã³ã¹ã®é«ãããã·ã¥ããããå®ç¾ãã¦ãããsparsehashããåºæ¬çã ã使ãåæã®ãããã³ãã¬ã¼ãã®ãctemplateããããããç¡åã§ãã¦ã³ãã¼ããããã¨ãã§ããã 詳細ã¯ä¸è¨Webãµã¤ããåç §ã®ãã¨ã Google Code Four Google open source tools on Google Code google-gflags google-perftools google-sparsehash google-ct
Steve Yegge / éæ¨é 訳 2004å¹´9æ ããã¯é§ã足ã®è¨èªæ¡å ã â Amazon Developers Journalã®ããã«ä»ææ¸ãã¦ããã®ã ããã©ãããããè¦è¦ãããªãããã«ããæ¹æ³ãè¦ã¤ããããªãã£ã・・・ã ã²ã¨ã¤ã«ã¯ãç§ã¯ã©ããç²éã§å£æ±ããªããã¡ã§ããªãã£ã·ã£ã«ãªè¶£ã®ããAmazonã®åºçç©ã«è¼ããã®ã¯ä¸é©åã«æãããããã§ãããã«èª°ãèªã¾ãªãèªåã®ããã°ã«æ¼ãè¾¼ãã¦ãã¾ããã¨ã«ãããèªãã§ãã®ã¯ããªããããã®ãã®ã ããã©ãã! ããã²ã¨ã¤è¨ãã¨ãããã¯æ¬å½ã«æ¸ãããã®ãã®ã§ããããããããã®æçãéãããã®ã§ãããªããå ¨ç¶ç£¨ãä¸ãããã¦ããªãããããããã°ã¨ã³ããªã«ããçç±ã«ãªã£ã¦ãããããã°ãªãå¥ã«è¯è³ªã§ããå¿ è¦ãå®å ¨ã§ããå¿ è¦ããªããåã«ç§ãä»æ¥èãããã¨ã¨ããã ãã®ãã®ã ãã§ã¯ã楽ãã¿ã! ãã®é§ã足ã®æ¡å ã§ã¯ãCãC++ãLispãJavaãPerl
Xbyak - x86, x64 JIT assembler - .frame(English) .frame(x86ã®ç©¶æ¥µã®æé©åææ³?) Xbyak(ã«ã¤ãã£ãã¯)ã¯x86(IA32), x64(AMD64, x86-64)ã®ãã·ã³èªå½ä»¤ãçæããC++ã®ã¯ã©ã¹ã©ã¤ãã©ãªã§ã. ããã°ã©ã å®è¡æã«åçã«ã¢ã»ã³ãã«ãããã¨ãå¯è½ãªãã, æè»ãªæé©å(åçã³ã¼ãçæ)ãå¯è½ã¨ãªãã¾ã(å©ç¨ã·ã¼ã³:éååã®é«éå, å¼ã®è¨ç®). æå·ã©ã¤ãã©ãªã«ä½¿ã£ã¦é«éãªå®è£ ããã¦ã¿ã(very fast etaT pairing for Core 2 Duo) ããããã¡ã¤ã«ãªã³ãªã¼ xbyak.hãã¤ã³ã¯ã«ã¼ãããã ãã§ããå©ç¨ãããã¨ãã§ãã¾ã(32bit, 64bit両対å¿). Windows Xp(32bit, 64bit), Vista/Linux(32bit, 64bit)/Intel
Last update 1999/09/22 iostreamã®æ¡å¼µ (C)平山ç´ä¹ ç¡æ転è¼ã¯ç¦æ¢ããªã³ã¯ã¯ããªã¼ 誤åè±åã®ææã¯æè¿ iostreamã®æ¡å¼µã«ã¤ã㦠ä¾ã«ãã£ã¦åçªã§ãããiostreamã®æ¡å¼µã«ã¤ãã¦æ¸ãã¦ã¿ããã¨æãã¾ããããã§ãããæ¡å¼µãã¨ã¯ãèªåã§cinã¨ãcoutã¿ãããªãã®ãä½ãããã¨ãããã¨ã§ãã ããããªããä¸çªæåã«æãããªããã¨æ¯è¼çè©å¤ã®æªãiostreamã§ããã æ¼ç®åãªã¼ãã¼ãã¼ããããã°ã御æ³åº¦ããªä½¿ãæ¹ãããã¦ãã ã¡ã½ããã®å½åæ³ããããå¤ ãªã©ã®ããã«è¡¨é¢çã«ç¾ãããªãã®ãæªè©ã®åå ã§ããã®è¾ºã«ç®ãã¤ã¶ãã°å®ã¯ãããªãã«ããã§ããã·ã¹ãã ã ã£ãããã¾ãã æ¡å¼µæ¹æ³ãä¸åº¦è¦ããã¨çµæ§ä¾¿å©ã§ããã iostreamæ¡å¼µã®åºç¤ç¥è iostreamãã¨ããã¨ããã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼Javaçãªæå³ãããªãã¦ï¼ã§ããã¨ããã®std::cin
ã¢ã«ãã¡ãããé ã©ã¤ãã©ãªãªã¹ã ã«ãã´ãªå¥ã©ã¤ãã©ãªãªã¹ã æååã¨ããã¹ãå¦ç ã³ã³ãã ã¤ãã¬ã¼ã¿ ã¢ã«ã´ãªãºã é¢æ°ãªãã¸ã§ã¯ãã¨ããé«ä½ã®ããã°ã©ãã³ã° ã¸ã§ããªãã¯ããã°ã©ãã³ã° ãã³ãã¬ã¼ãã¡ã¿ããã°ã©ãã³ã° ããªããã»ããµã¡ã¿ããã°ã©ãã³ã° 並åããã°ã©ãã³ã° æ°å¦ã¨è¨ç® æ£å½æ§ã¨ãã¹ã ãã¼ã¿æ§é å ¥åºå è¨èªéãµãã¼ã ã¡ã¢ãª æ§æ解æ ãã®ä» ä¸å®å ¨ãªã³ã³ãã¤ã©ã®åé¿æ段 ã©ã®ã©ã¤ãã©ãªãã©ã®ã³ã³ãã¤ã©ã§åãããç解ããã«ã¯ Compiler Statusï¼ ã©ã¤ãã©ãªã®ãã¦ã³ãã¼ãï¼ãã«ãï¼ã¤ã³ã¹ãã¼ã«ã«ã¤ãã¦ã¯Getting Startedï¼ ã¢ã«ãã¡ãããé ã©ã¤ãã©ãªãªã¹ã any - ç°ãªãåã®ã²ã¨ã¤ã®å¤ãæ ¼ç´ã§ãããå®å ¨ã§æ±ç¨çãªå ¥ãç©ãKevlin Henney ä½ array - STL ã«æºæ ããå®æ°ãµã¤ãºã®é åã®ã©ããã³ã³ãããNicolai Jos
C++ ã©ããªã³ã¹ C++ ã¯ãæ°å¤ãã®è¬ãåæãç½ ãããã¦å®ç®±ãä»æããããã壮大ãªè¿·å®®ã§ããã ãã® C++ è¿·å®®ããã¾ããåå¿ãã¡ã¸ããããããªãããããã¤ãã®éæ¨ã ãè´ããããã ãã¡ãããç§èªèº«ãC++ è¿·å®®ã®ä¸å½·å¾¨è ã«éããªãã誤ããä¸åãªç¹ãããã°ã é æ ®ãªãææãã¦ããã ãããã ãã£ã¹ã (2001-03-01) dereference (2001-03-01) ãã«ãã¹ã¬ããã«ããã singleton (2001-03-17) å¥ç´ã«ããè¨è¨ (2001-03-25) æ»å¤ã¨ã³ã³ã¹ãã©ã¯ã¿ã®å¦ããé¢ä¿ (2001-04-09) ãã«ãã¹ã¬ããã«ããã singleton (ãã®2) (2001-04-10) èªå·±è¨åçãªãã³ãã¬ã¼ã (2001-06-13) ãªã¼ãã¼ãã¼ãã¯ç¶æ¿ã§ããªã (2001-06-16) GCC 3.0 ã®ã¤ã³ã¹ãã¼ã« (2001-07-0
What's new 2008/06/30 Google æ¤ç´¢çªãã¤ãã¦ã¿ã¾ããã 2008/06/14 身é·ãä½éãªã©è¤æ°ã®åºæºã§ã½ã¼ãããä¾ ã追è¨ã 2008/06/14 è±æåææ¸ãèªãã§ãæåæ°ã®é »åº¦é ã«ã½ã¼ãããä¾ ã追è¨ã å¤ã What's new å½ãµã¤ãã§æ示ãããµã³ãã«ã³ã¼ãã¯ããã¾ãã«ãåç´æå¿«ã§ãä¸è¦ã¤ã¾ããªããããã«è¦ããã¯ãã§ããããããããããªããããæããã®ã§ããã°ãããã¯ããããã©ããã§ã大æåã¨è¨ãã¾ããã¡ãã£ã¨é£è§£ã¨æããã¦ãã C++ ããã¤ã¾ããªãè¦ããã»ã©å¹³æã«è§£èª¬ããã¦ããã¨ãããã¨ã§ãããã åºç¤ï¼å ¥éï¼ç·¨ ãã®ä»ï¼é C++ çï¼ ã¨ãã»ã¼ C++ ã¯ã¢ã»ã³ããªè¨èªã®ããã«è»½å¿«ã§ããã«ãããããããä»®æ³ã¯ã©ã¹ãã¯ã©ã¹ã®ç¶æ¿ããªãã¬ã¼ã¿ã®ãªã¼ãã¼ãã¼ããããã¦ããã³ãã¬ã¼ãã¨ãé«ç´è¨èªã®ããã°ã©ãã³ã°ãã¯ããã¯ãä½ãã¨ãããªãé§ä½¿ã§
ããã§ã¯ãå ¥åºåã¹ããªã¼ã ã¨å ±ã«ä½¿ç¨ãããããã¥ã¬ã¼ã¿ã®ä½ãæ¹ã«ã¤ãã¦è§£èª¬ãã¾ãããããã¥ã¬ã¼ã¿ã¯ãé¢æ°ã§ããã¯ã©ã¹ã§ãå®ç¾ã§ããå°ãæ¯è²ã®å¤ãã£ããããããåå¨ã§ãããããã¥ã¬ã¼ã¿ãç解ããã«ã¯ãªãã¬ã¼ã¿ã®ãªã¼ãã¼ãã¼ãã®ç¥èãå¿ é ã§ãã®ã§ããã¡ããã覧ãã ããã ãããã¥ã¬ã¼ã¿ã¨ã¯ å¼æ°ã®ãªããããã¥ã¬ã¼ã¿ã®ä½ãæ¹ å¼æ°ã®ãããããã¥ã¬ã¼ã¿ã®ä½ãæ¹ ã°ãã¼ãã«é¢æ°ã¨ãã¦ä½æããæ¹æ³ ã°ãã¼ãã«ãªé¢æ°ãªãã¸ã§ã¯ãã¨ãã¦ä½æããæ¹æ³ ã¯ã©ã¹ãªãã¸ã§ã¯ãã¨ãã¦ä½æããæ¹æ³ ãããã¥ã¬ã¼ã¿ã®å¿ç¨ä¾ãprintf 風ãããã¥ã¬ã¼ã¿ ãããã¥ã¬ã¼ã¿ã¨ã¯ ãã¼ã¸ã®å é 㸠ãããã¥ã¬ã¼ã¿ã¨ã¯ãcinãcout ãªã©ã代表ã¨ããå ¥åºåã¹ããªã¼ã ã«å¯¾ãããæ¿å ¥æ¼ç®å << ãæ½åºæ¼ç®å >> ã¨å調ãã¦ãå ¥åºåãã©ã¼ãããã®å¤æ´ãè¡ããªã©ã®ç®çã§è¨è¨ããããã®ã§ãæ¨æºã©ã¤ãã©ãªã§ã¯ endlãsetwãs
Part2ã§ã¯ï¼ãããããC/C++ã«ã¤ãã¦ããããã£ã¦ãã¾ãããã¨ããæ¹ã®ããã«ï¼C/C++è¨èªã«é¢ããç´ æ´ãªçåãQ&Aå½¢å¼ã§ãçããã¾ããâä»ãã人ã«ã¯èããªããªãâã¨ãããããªçåãåãä¸ãã¦ãã¾ãã®ã§ï¼åå¿è ã®æ¹ã§ãå®å¿ãã¦èªãã§ãã ããã C/C++ã®æ大ã®é åã¯ï¼ã³ã³ãã¥ã¼ã¿ã§ã§ãããã¨ãªãï¼ã»ã¨ãã©ã©ããªç¨®é¡ã®ããã°ã©ã ã§ãæ¯è¼çç°¡åã«æ¸ãããã¨ã§ãã Cããã¨ãã¨OSãè¨è¿°ããããã«ä½ããããã¨ã¯ç¹é1ã§ã触ãã¾ãããOSã®å½¹å²ããããã£ã±ã«ããã¨ï¼ãã¼ãã¦ã¨ã¢ã®æ©è½ã使ããããå½¢ã§ã¢ããªã±ã¼ã·ã§ã³ã»ã½ããã«æä¾ãããã¨ã§ããã¢ããªã±ã¼ã·ã§ã³ã»ã½ããã¯åºæ¬çã«OSãæä¾ããæ©è½ãå©ç¨ãã¦åãããã°ã©ã ã§ãããï¼OSãä½ããè¨èªã§ããã°ï¼äºå®ä¸ã©ããªã¢ããªã±ã¼ã·ã§ã³ã§ãä½ãããã¨ã«ãªãã¾ãã ãã½ã³ã³ã«é¢ãã¦ããã°ï¼Cã®å¦çç³»ãããã¤ãã®ãã³ãã¼ããã³ã³ãã¤ã©ã¨ãã¦æä¾ãã
ããããããªãã¦ãããèªåçã«ã¯ C++ ã«ããã NULL ã®è©±ããã¦ããã¤ãããªã®ã« C ã§ã®è©±ãæã£ã¦ãããã¦ãå°ãã¨ãããã 調ã¹ã人ãããã®ã§ããã£ã¡ãã¿ãã°çµäºãªãã ãã©ãGCC ã®ã¡ã¼ãªã³ã°ãªã¹ãã§ãã¡ãã£ã¨è°è«ã«ãªã£ã¦ããã®ãè¦ãããã£ãã®ã§ãã£ã¡ããå¼ç¨ã > I see what you are saying, but unfortunately, this is not my code. I am > mearly porting it. And, technically, it should work since the standard says > NULL should be a 0 or 0L ^^^^^^^^ No. The C++ Standard does not say anything like that. The exact wording is
ãProgrammer Hierarchyãã¨ããé¢ç½ããã¿ãããã¾ããã çµæ§ç¬ãã¾ããã ä¸é¨æ¥æ¬èªåãã¦ã¿ã¾ããã å³ä¸ã®ç¢å°ã¯ãç¸æãããä¸ã§ããã¨ã¿ãªãã¦ãããäºã示ãã¦ããããã§ãã ãã¨ãã¨ã¯ãGeek Hierarchyãã¨ãããªã¿ã¯å士ãã俺ã¯ããã¤ããããªã¿ã¯ã§ã¯ãªããã¨æããã£ã¦ããã¨ãããã¿ããã£ã¦ãããã®ããã°ã©ãçã®ããã§ãã ã¡ãã£ã¨ã¢ã¡ãªã«æåã§ãããå ãã¿ã®ãªã¿ã¯çãé¢ç½ãã®ã§ãããããããã°ã覧ä¸ããã ãã¾ãï¼ããã°ã©ãã³ã°/æè¡é¢é£ãç¬ããã¿ ããã°ã©ãã¬ã㫠人çã®å ¨ã¦ã¯TCP/IPã«å¦ãã ãããã殺ããå¾ã¯ãã£ã¡ã§ãªãã¨ããããã æè¡ç³»ã·ã¢ãã¿
ä»æ´è¨ãäºã§ããªãããã³ã³ã¹ãã©ã¯ã¿ã§ä»®æ³ã¡ã½ãããå¼ãã§ãæå³éãã«åããªãã C++ class BaseClass { public: BaseClass() { cout << "BaseClass ctor\n"; Func(); } virtual void Func() { cout << "BaseClass Func()\n"; } }; class InheritClass : public BaseClass { public: InheritClass() { cout << "InheritClass ctor\n"; } void Func() { cout << "InheritClass Func()\n"; } }; int main() { BaseClass* p = new InheritClass(); p->Func(); return 0; }
ããã°ã©ãã³ã°ã®åé¡ï¼by C++è¨è¨è ã®Stroustrupï¼ http://www.techreview.com/InfoTech/17831/ ãã©ãã«è¨³ãã¦ã¿ããï¼æªå®ï¼ ã©ããã¦ãã»ã¨ãã©ã®ããã°ã©ã ã¯ããããªããã®ã§ãããããï¼ ããã½ããã¦ã§ã¢ãããã¾ããç«ææ¢æ»ãã¼ãã¼ãGoogleã人ã²ãã ããã¸ã§ã¯ãããªã©ãªã©ãã¯ãªãªãã£ã»ã½ããã¦ã§ã¢ã§ãï¼ã§ããç¾å®ä¸çã«ããå¹³åçãªããã°ã©ã ãã¿ã¦ã¿ãã¨ãæ³£ããããªããæ¬å½ã®åé¡ã¯ãã½ããã¦ã§ã¢ã¨ãããã®ãã¾ã ã¾ã æ°¸é ã«ã¤ã¥ãæ¹è¯ã®ç¹°ãè¿ãã®åµçºæ®µéã«ãããã¨ãåãã½ããã¦ã§ã¢ãã¤ãããã¨ã«åãã¦ããã©ã¤ã¢ã«ã»ã¨ã©ã¼ãããªãããã¡ã£ã¡ããªå¥è·¡ãèµ·ãããªããé²ãã§ãããã¨ã ã½ããã¦ã§ã¢éçºè ã¯ããä¸å®å®ãªè¦ç´ ãçµã¿åããã¦ããããªãã«å®å®ããã·ã¹ãã ãä½ããã¨ããå°é£ãªã¢ã¼ãã«çéãã¦ããããããã§åé¡ã¯ãã§ãããããã©ããã£ã¦ãã£
_ Q&A with C++ inventor Bjarne Stroustrup æã® ä¼¼éã¤ã³ã¿ã¼ãã¥ã¼è¨äº ã»ã©é¢ç½ããªããã©ã è¨ã£ã¦ãããã¨ã¯çãéã£ã¦ãããããã ãããå½ãåãã ã©ã£ã¡ãã¨è¨ãã¨ã /.ã®ãããããããªè°è« ã®æ¹ãé¢ç½ãã£ããããã ãã®ä¸ã§ Boost.MPL ãªãã¦ä½ã®å½¹ã«ãç«ããªãã ããã¿ãããªã³ã¡ã³ãããã£ãããã©ã ããã¯è¦éãçãããããããªããããã ãããããã®äººã«ã¯å½¹ã«ç«ããªããã ãããã©ãã ãã£ã¨æ±ç¨çãªãã³ãã¬ã¼ãã»ã©ã¤ãã©ãªã¨ãä½ããªããã ãããã ã§ãMPLã ã£ã¦ãBoostèªä½ã«ã¯å½¹ã«ç«ã£ã¦ãã¦ã Boostã«ã¯ç´æ¥å½¹ã«ç«ã¤ãã®ããã£ã±ããããã¨ã¯å¦å®ã§ããªãããããªãããªã ã ããéæ¥çã«å½¹ã«ç«ã£ã¦ããã¨è¨ããã C++ãã¾ã¨ãã«ä½¿ã人ã«ã¯ãã£ã¦æå³ã ãã©ã èªåã«ã¨ã£ã¦ã©ãããã¨ããããå ´é¢ã§ã©ãããã¿ãããªãç¡æå³ã«ä¸è¬å
2006å¹´12æ05æ¥00:30 ã«ãã´ãªiTech C/C++ - typecastãmethodã« å®ã¯ããã¨é¡ä¼¼ã®ãã¨ããããç¨åº¦Cã§ãããã¨ãåºæ¥ãã 404 Blog Not Found:é»è³è¨èªã«ãããç¥å ã®åªã--æ¼ç®åç¯ åãå¤æããã®ããã¿ã¤ããã£ã¹ããã§ã¯ãªããã¡ã½ãããã¨ãããã¨ã«ãã¦ãã¾ãã°ããã®ã ãããodz buffer - type declaration ã¨ã cast ã¨ã ãããã« Ruby ãªããã§ã¯ obj.to_i ã¨æ¸ãããããããcast ã«ã int => double ã®ããã«ãå®éã®åå¤æãçºçããã¿ã¤ã(C++ ã§ãã static_cast)㨠void * => char * ã®ããã«ã³ã³ãã¤ã©ã«å¤æ°ã®åãæ±ãåãæ示ããããã ãã§æ¼ç®ã®çºçããªã*2 cast (C++ ã§ãã reinterpret_cast, const_ca
å°ãä½ã£ãã (define (factorial n) (if (= n 1) 1 (* n (factorial (- n 1))))) ; ok (factorial 10) ; 3628800ãã¼ãAccelerated C++ 㨠Effective C++ ã¨ããæ¬ãèªãã ãã ãã©æ¸ãæ¹ãããããªãã®ã§ã²ãã½ãã®ã³ã¼ããåèã«åå¼·ãããã¨ãããã ãã©æ¥è¨ã«ã³ã¼ãã¯æ®ã©è¼ã£ã¦ãªãã¦ã¤ãããã¼ã¨æãã¤ã¤æ¸ããããããã訳ã§ããã¾ã C++ ã®åå¼·ã«ã¯ãªã£ã¦ãªããããªããã¤ã³ã¿ã¨ãåç §ã¨ããªã½ã¼ã¹ç®¡çã¨ãããã£ã±ãããããªããã¡ã¢ãªãé§ã æ¼ãã 以ä¸ã½ã¼ã¹ã³ã¼ã main #include <iostream> #include <scheme.h> using namespace std; using namespace scheme; int main() { Environme
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}