Get started Start by creating your first app. Go deeper with our training courses or explore app development on your own.
C++14ã¯ãC++11ã«å¯¾ãããã¤ãã¼ã¢ãããã¼ãã§ããä»æ§ã®ãã°ä¿®æ£ããC++11ã®æ¯è¼çå°ãããªæ©è½ä¸è¶³ãè£ããã¼ã¸ã§ã³ã«ãªã£ã¦ãã¾ãã ç´°ããããå¤æ´ã¯ãããã«æ¸ãã¾ããããããç¨åº¦å¤§ããã®å¤æ´ã以ä¸ã«ã¾ã¨ãã¾ãã ãã®å 容ã¯ãæ£å¼ã«çå®ãããã¾ã§ã«å¤æ´ãããå¯è½æ§ãããã¾ãã ã³ã¢è¨èª 2é²æ°ãªãã©ã« å¤æ°ãã³ãã¬ã¼ã é常ã®é¢æ°ã®æ»ãå¤åãæ¨è« ã¸ã§ããªãã¯ã©ã ã ä¸è¬åãããã©ã ããã£ãã㣠constexpré¢æ°ã®å¶éç·©å ã©ãããã¨ããªãç¾ããçµæã®è¦å®(åå, å¾å) [[deprecated]]å±æ§ æ°å¤ãªãã©ã«ã®æ¡åºåãæå ãµã¤ãºä»ãã®ãã¢ãã±ã¼ã·ã§ã³ initializer-listã«ããaggregateåæåã®å¶ç´ç·©å ããã¯ããªã¼ã®å®ç¾© ã·ã°ãã«ãã³ãã©ã§ã§ãããã¨ã®å¶éç·©åã¨æ確å ã©ã¤ãã©ãª make_unique() ã³ã³ãã¤ã«ææ´æ°ã·ã¼ã±ã³ã¹ tu
è¿å¹´ããã¤ã¹ããã¯ãªã¹ãã¼ããã©ã³ãé«å質ãªãããã¯ã¼ã¯ãæ®åããããã«ããã¢ãã¤ã«ã²ã¼ã ã®å¶ä½ææ³ããããåãå·»ãç°å¢ãå¤åãã¦ãã¾ãããã¹ã¯ã¦ã§ã¢ã»ã¨ããã¯ã¹ã§ã¯ããã®ãããªç°å¢ã®å¤åã«å¯¾ãã¦ãæ¥ã æ°ããªãã£ã¬ã³ã¸ããç¶ãã¦ãã¾ããããã¦ããã®ãããªã¹ãã¼ãæ溢ããæ¥çã®æµãã«ã¯ãä¼ç¤¾ã®æ ãè¶ ããæè¡æ å ±ã®å ±æã交æµãæ¬ ãããªãã¨æãã¦ããã¾ãã ããã§ãã®å¤ã社å ã®ã¨ã³ã¸ãã¢ã»ãã¯ãã«ã«ãã£ã¬ã¯ã¿ã¼ã«ããææ°ã®ã¢ãã¤ã«éçºã®æè¡æ å ±ã社å ã¢ãã¤ã«ã¨ã³ã¸ã³ãéçºç§è©±ã«ããã»ãã·ã§ã³ãã¡ã¤ã³ã«ãã¹ã¯ã¦ã§ã¢ã»ã¨ããã¯ã¹ ã¢ãã¤ã« ãªã¼ãã³ã«ã³ãã¡ã¬ã³ã¹ãéå¬ããéã³ã¨ãªãã¾ãããã¾ããã»ãã·ã§ã³ã®å¾ã¯ç»å£ããå¼ç¤¾ã¹ã¿ããã¨ç´æ¥ãã£ã¹ã«ãã·ã§ã³ãããªã¼ãã¼ã¯ãã§ããå ´ãè¨ãã¦ããã¾ãããã®æ©ä¼ã«ã¹ã¯ã¦ã§ã¢ã»ã¨ããã¯ã¹ã¨ããä¼ç¤¾ã«ã¤ãã¦ãããã詳ããç¥ã£ã¦é ããã°å¹¸ãã§ãã ããã¼ã¸ã£ã¼ã»ãã¯
ä¸çææ°ã®C++ã¨ãã¹ãã¼ãScott Meyersæ°ã®æ°ããC++æ¬ãEffective Modern C++ãã®ãã©ããçãå ¬éããã¾ãã(ããã°ãReddit)ãã¾ã å®æçã§ã¯ããã¾ããããO'Reillyã®æ©æãªãªã¼ã¹ããã°ã©ã ãå©ç¨ãã¦ãä¾¡æ ¼$42.99ãã«ã§è³¼å ¥å¯è½ã§ãã ç®æ¬¡ããµã³ãã«ã¯Safari Books Online(O'ReillyãPeachpitãPrentice HallãMicrosoft Pressãlynda.comãªã©ãæä¾ããæ¸ç±ããããªãªã©ã¸ãªã³ã©ã¤ã³ã§ã¢ã¯ã»ã¹ã§ãããµã¼ãã¹)ã§ã確èªå¯è½ã ç®æ¬¡ã¯ä»¥ä¸ã®éãã Chapter 1 Deducing Types Chapter 2 auto Chapter 3 From C++98 to C++11 and C++14 Chapter 4 Smart Pointers Chapter 5 Rvalu
Effective C++ 第3ç (ADDISON-WESLEY PROFESSIONAL COMPUTI) ä½è : ã¹ã³ããã¡ã¤ã¤ã¼ãº,å°æå¥ä¸éåºç社/ã¡ã¼ã«ã¼: 丸ååºççºå£²æ¥: 2014/03/18ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ãã®ååãå«ãããã° (1件) ãè¦ã ä¼ç¤¾ã§Cocos2d-x使ããã¨ã«ãªã£ãã®ã§èªãã ã C++ã®å¦ç¿ã¯ãC++ ãã±ãããªãã¡ã¬ã³ã¹èªãã ç¨åº¦ãªã®ã§ãEffective C++èªãã ã¨è¨ã£ã¦ãååãç解ãã¦ãªãã¨æãã 55é ç®ã®ãããæ¸ããã»ããè¯ããããã§æ§æããã¦ããã ãã©ãåé ã®ã¿ã¤ãã«ã«ãããã¯ãæå¾ã«ã¾ã¨ããè¼ã£ã¦ãã®ã§ãåãæ¥ãã²ã¨éãææ¡ããã人ã¯æåã¨æå¾ã ãèªãã°ããã¨æãã ã¡ããã¨èªãã ã»ããç解ãæ·±ã¾ããã ãã©ãèªãã§ãç解ããã¨è¨ããã»ã©ã®åæç¥èãçµé¨ãæãã¦ããªãã¨æããã ååãç解ãã¦ãªããã©ãèªãã¿ã¤ãã³ã°ã¨
æè¿ãããã°ã©ãã³ã°ãã©ããã£ã¦å¦ã¹ã°ããã®ãããããªããªã£ã¦ãã¾ã£ãã çè ã¯ãã¯ã³ã´ã«éããã¦ããããã¯ã³ã´ã«å ¥ç¤¾ãã¦æ©4ã¶æã«ãªããã¨ãã¦ããããã¯ã³ã´ã«éããã¦ããåç®ã¯ãC++ã®åèã§ãããC++ã®åèã«ã¯C++ã®æè²ãå«ã¾ããããããã£ã¦ãçè ã¯ããããC++ã®æè²ãããªããã°ãªããªãã çè ã¯ãããã°ã©ãã³ã°ãæè²ããæè¯ã®æ¹æ³ã¯ãåèæ¸ãå·çãããã¨ã ã¨èãã¦ãããç´æ¥å¯¾é¢ãã¦æããã®ã¯éå¹ççã ãæç« ãæ¸ãã¦ããã°ã大å¢ãå¦ã¹ããã§ã¯ãã©ã®ãããªåèæ¸ãå·çããã°ããã®ãããã§ã«C++11ã®ã³ã¢è¨èªã®åèæ¸ã¯æ¸ããã EzoeRyou/cpp-book C++14対å¿ããæ£å¼ãªC++14è¦æ ¼å¶å®å¾ã«è¡ããªããã°ãªããªããããã¦ã©ã¤ãã©ãªã¯ãããä»ã«ãã人ãããªãã®ã§ããã°ããããªããã°ãªããªãã ããã ãããããããã®æ¬ã¯ãC++ãããããå¦ã³å§ãã人åãã§ã¯ãªããC++
Cocos2d-x3.0ã§ä½¿ã£ã¦ã¿ã¾ããããã®å°å ¥ã¨å®è£ ä¾ã«ãªãã¾ãã åç´ã«Cocos2d-xã«çµã¿è¾¼ã¾ãã¦ãspine/json.hãèªåçã«ä½¿ãã«ããã£ãã®ã§ããã å¥ã«é度ãã¦ã³ã¿ã©ã«ã³ã¿ã©ã¨ããããã話ã§ã¯ãªãã®ã§ããã®è¾ºã®ããã³ãã¯ãåå¼ãã ãããããOTL dropboxã®github 以ä¸ã®githubã«ãªãã¾ããè¦ãã¨ãããã¨æãã¾ããcppã¨hppããç¡ãã®ã§çµã¿è¾¼ã¿ãããã§ãã test.cppãããã®ã§åç´ãªä½¿ãæ¹ã¯ããã¿ãã大ä½ãããã¾ãã https://github.com/dropbox/json11 Cocos2d-xã¸ã®çµã¿è¾¼ã¿æé æ®éã«ãã¦ã³ãã¼ããã¦ã³ããã§ãããã¨æãã¾ãã èªåã¯ãClassesãã£ã¬ã¯ããªä»¥ä¸ã«é©å½ã«modulesã£ã¦ãã£ã¬ã¯ããªä½æãã¦git clone submoduleã«ãã¾ããã ã¡ãªã¿ã«git cloneããå ´åã¯ã
2. âèªå·±ç´¹ä» ⢠åå : æä¸ åé (ãããã¿ ããã) @bolero_MURAKAMI, id:boleros ⢠棲æ¯å°: 大é½ä¼å²¡å±± ⢠ä»äº : çªé¢¨æ¥ç¾è¡é¤¨é¶è¸æå°å¡ ã»æ®æ®µã¯ããããã¾ããããã ç¸æåå¨ãã¤ãã£ãããã¦ãã¾ã ã»è¶£å³ã¯ constexpr ã§ã 3. âèªå·±ç´¹ä» â¢ å ¬éãã¦ããã©ã¤ãã©ãª: Sprout C++ Library (constexpr ã©ã¤ãã©ãª) github.com/bolero-MURAKAMI/Sprout ⢠ååçºè¡¨è³æ: Boost.åå¼·ä¼ #7 ãä¸ï¼â¼¥â¼¦ã§ãããã constexprã Boost.åå¼·ä¼ #8 ãä¸ï¼â¼¥â¼¦ãçããæ¬å½ã«æ°æã¡ã®ãã constexprã www.slideshare.net/GenyaMurakami
iOS/Android両対å¿ã®ãã¤ãã£ãã¢ããªéçºç°å¢ãAppmethodããã¨ã³ãã«ããããªãªã¼ã¹ãå人åãç¡åçãçºè¡¨ 1ã¤ã®ã½ã¼ã¹ã³ã¼ãããiOSã¨Androidã«å¯¾å¿ãããã¤ãã£ããªã¢ãã¤ã«ã¢ããªã±ã¼ã·ã§ã³ãéçºã§ãããã¸ã¥ã¢ã«çµ±åéçºç°å¢ãAppmethodããã¨ã³ãã«ããã»ãã¯ããã¸ã¼ãºããªãªã¼ã¹ãã¾ããã Appmethodã¯ãå社ããã§ã«è£½åã¨ãã¦æä¾ãã¦ãããDelphiãããã³ãC++Builderãã®æ©è½ããã«ãããã¤ã¹åãã«çµã£ã¦åæ§æãããã®ãiOSãAndroidã®ã»ãWindowsãOS Xã®ãã¤ãã£ãã¢ããªã±ã¼ã·ã§ã³ãéçºã§ãã¾ãã ãã¸ã¥ã¢ã«çµ±åéçºç°å¢ã¨ãã¦ã®æ©è½ã¯DelphiãC++Builderã¨åæ§ã«ãç»é¢ã«ã³ã³ããã¼ã«ãé ç½®ããC++ãããã¯Object Pascalï¼Delphiè¨èªï¼ã§ã³ã¼ãã£ã³ã°ãã¦ããã¾ããAppmethodã«ã¯ãåOSã
Cocos2d-x 㧠JSON ãã©ã¼ããããæ±ãããã®ã©ã¤ãã©ãªãæ¢ãã¨ã大æµæåã«è¦ã¤ããã®ã¯ spine/Json.h ã§ãã Cocos2d-x ã«çµã¿è¾¼ã¾ãã¦ãããããä½ãã®ã©ã¤ãã©ãªã追å ã§å ¥ããå¿ è¦ã¯ããã¾ããã 使ã£ã¦ãã人ãå¤ããããã¡ãã£ã¨æ¤ç´¢ããã°ä½¿ãæ¹ãåããã¾ãã ãããªä¾¿å©ãª spine/Json.hã ããããspine/Json.h ã¯æ±ºãã¦ä½¿ãã¹ãã§ã¯ããã¾ããã ãã®çç±ã¯ã以ä¸ã®ï¼ã¤ã§ãã ãªã³ã¯ãªã¹ããã¤ç·å½¢æ¢ç´¢ãªã®ã§ã¯ã½é ã åã®ééããç¡è¦ãã ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå¤ããããã ãã¼ã®å¤§æåå°æåãç¡è¦ãã ãã®ï¼ã¤ã«ã¤ãã¦è©³ç´°ã«èª¬æãã¾ãã ãªããããã§ã¯ã³ãããID 625b9501f320a08e6d3aff2ee2ad4e04c6872cc0 æç¹ã® spine/Json.hãspine/Json.cpp ã«ã¤ãã¦æ¸ãã¦ãã¾ãã ãªã³ã¯ãª
以åã¢ãã¦ã³ã¹ããJetBrainsã®C++ IDEã®éçºè¨ç»ã«ã¤ãã¦å¯¾ããæå¾ ã®å£°ãå¯ãããã¦ãã¾ãããã©ã¤ãã¼ããã¬ãã¥ã¼ã«å¯¾ãã¦å¤§å¤ãªæ°ã®å¿åãããã¾ãããããããã®ãã£ã¼ãããã¯ã¨ããªãªã¼ã¹ãæå¾ ãã声ã«é©ãã¦ãã¾ããããã§ç¾å¨ã®ç¶æ³ããä¼ããããã¨æãã¾ãã ãã©ã¤ãã¼ããã¬ãã¥ã¼ãã«ãã¯ç¾æç¹ã®æ©è½ã»ããã§ã«ãã¼ã§ããä¸é¨ã®ããã¸ã§ã¯ãã«ã®ã¿æä¾ããäºå®ã§ãè¿ã ãå±ãã§ããè¦è¾¼ã¿ã§ãããã©ã¤ãã¼ããã¬ãã¥ã¼ãã«ãã®ä¸»è¦æ©è½ã¯ä»¥ä¸ã®éãã§ã: CMake + GCC + GDB7. ãããããã©ãããã©ã¼ã ããéçº: LinuxãOS XãWindows (Cygwin, MinGW). C++11 ãµãã¼ã (ã©ã ãé¢æ°ãraw string literalsãvariadic templatesãdecltypeãautoãªã©) Code解æã¨ããããã®ã¯ã¤ãã¯ãã£ãã¯ã¹ ãª
JNIé¢é£ã®è©±ãç¶ãã¾ãã ä»æ¥ã¯çãã§ãããJNIã¨C++ä¾å¤ã«ã¤ãã¦ã æè¿ã§ã¯Android NDKãC++ã®ä¾å¤ï¼ãRTTIï¼ã«å¯¾å¿ãã¦ãã¦ããã®ãããã§ä¾å¤ãå¿ è¦ãªSTLãªã©ã®ã©ã¤ãã©ãªãèªç±ã«ä½¿ããããã«ãªã£ã¦ãã¾ããããããJavaå´ã¯C++ã®ä¾å¤ãç解ãã¦ãããªãã®ã§ãããJNIãä»ããé¢æ°ããã¤ãã£ãé åã§ä¾å¤ããã£ãããæããã¨ãããã«Segmentation Faultã§è½ã¡ã¾ãã 解決çã¨ãã¦ã¯ãJNIããå¼ã³åºãããC++å´ã®å é¨å¦çããnoexceptãªé¢æ°ã«éãè¾¼ãã¦ãã¾ãã°ããããã§ãããã¡ããã¨ã©ã¼ãçºè¦ã§ããªãã®ãã¾ããã®ã§ãJNIã使ã£ã¦Javaå´ã®ä¾å¤ã«å¤æãã¦ãã¾ãã¾ãã JNIEXPORT void JNICALL Java_Foo_bar (JNIEnv* env, jobject thisj) { jni_util::convertExcep
iOSãAndroidã®ãã¤ãã£ãã¢ããªã±ã¼ã·ã§ã³ãéçºããã«ã¯ãå°ç¨ã®SDKã®ã¤ã³ã¹ãã¼ã«ã¨ç¬èªã®ããã°ã©ãã³ã°è¨èªãè¦ããå¿ è¦ãããã¾ããã C++ Builderã®æ¬¡æãã¼ã¸ã§ã³ã§ã¯ãiOSã¢ããªã±ã¼ã·ã§ã³ã®éçºã«å ãã¦Androidã¢ããªã±ã¼ã·ã§ã³ã®éçºã«ã対å¿ã 使ãæ £ããC++è¨èªã§ãWindowsãMac OSãiOSãAndroidã®4ã¤ã®ãã©ãããã©ã¼ã ã®å ¨ã¦ã«å¯¾å¿ãããã¤ãã£ãã¢ããªã±ã¼ã·ã§ã³ã®éçºãå¯è½ã«ãªãã¾ããã Androidãã¤ãã£ãã¢ããªéçºã«å¯¾å¿ C++Builderæ°ãã¼ã¸ã§ã³ã®ä¸»ãªç¹å¾´ãæãã¦ã¿ã¾ãããã ã³ã³ãã¼ãã³ããç»é¢ä¸ã«ã¬ã¤ã¢ã¦ããããã¨ã§éçºã§ããããã¸ã¥ã¢ã«éçºç°å¢ ç»é¢ãã¶ã¤ããã³ã¼ãã¨ãã£ã¿ããããã¬ãã³ã³ãã¤ã©ãªã©ãå«ãçµ±åéçºç°å¢ åä¸ã®ã½ã¼ã¹ã³ã¼ãã§è¤æ°ãã©ãããã©ã¼ã ã«å¯¾å¿ ç»é¢ãµã¤ãºã解å度ã«å¯¾å¿ãã¦UIã³ã³ãã¼ãã³ãã®ã¬ã¤
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ã¯ããã« æã¯2014å¹´ããã®ãããæ¥çã¯Unityå¸å½ã®çµ±æ²»ã«ããå¹³åãªæ¥ã (!)ãéããã¦ããããããçªç¶ãå°åºããUE4ãã»ã»ã»(ä¼è¨ æ¦äºã®æ¯è»ã®åé ãã) ã§ãå®ã¯ãUEã®æ´å²ã¯ãããå¤ããã¹ã â»åãå®ã¯ã¢ã³ãªã¢ã«1ã®é ããModä½ãããã«ã¡ããã£ã¨ã¨ãã£ã¿è§¦ã£ã¦ã¾ãããValveã®Sorceã¨ã³ã¸ã³ãQuakeã¨ã³ã¸ã³ã®ã¨ãã£ã¿ããæç¶ä½¿ããããã£ããªã( ´âï½) GDC2014ã§æ´å²ççºè¡¨ããªãããã ãGDC 14ãEpic GamesããUnreal Engine 4ãã«ãµãã¹ã¯ãªãã·ã§ã³ã¢ãã«ãå°å ¥âæé¡19ãã«
ï¼»GDC 2014ï¼½ã²ã¼ã éçºè ã¸ã®ã¢ãã¼ã«ãçãGoogleï¼2Dã²ã¼ã åãç©çã¨ã³ã¸ã³ãLiquidFunããå ¬é ã©ã¤ã¿ã¼ï¼ç±³ç° è¡ LiquidFunã®è§£èª¬ãæ å½ããWolf Dobsonæ°ï¼Google Developer Program Engineerï¼Googleï¼ ãGame Developers Conference 2014ãï¼ä»¥ä¸ï¼GDC 2014ï¼2æ¥ãã¨ãªãåç±³æé2014å¹´3æ18æ¥ï¼Googleã¯ï¼éçºè åããµãã¤ãã³ããGoogle Developer Dayãã®å®æ½ã«åããï¼2Dã²ã¼ã ã§ç²åãæµä½ãæ±ãããã®ãªã¼ãã³ã½ã¼ã¹ç©çã¨ã³ã¸ã³ãLiquidFun 1.0ãï¼ä»¥ä¸ï¼LiquidFunï¼ããªãªã¼ã¹ããã Google Developer Dayã§ã¯ï¼å½ç¶ã®ããã«ãã®LiquidFunã«é¢ããã»ãã·ã§ã³ãç¨æããã¦ããã®ã§ï¼ä»åã¯ãã®å 容ãä¸å¿ã«ï¼Go
C++: æååã®ä¸é¨ãåãåºã (std::string)C++: Mac OSX 㧠std::wcout ã使ã£ã¦ã¯ã¤ãæåã表示ããããã¨ããã¨ã¯ã©ãã·ã¥ããC++ : wchar_tãchar32_tãchar16_t åã®æååã®é·ããæ±ããC++: std::wstringãstd::u32stringãstd::u16string ã1æåãã¤è¡¨ç¤ºããC++: std::wstringãstd::u32stringãstd::u16string 㨠c_str ã¡ã½ããã®æ»ãå¤ã«ã¤ãã¦C++: æååãé£çµããC++: æååã¤ãã¬ã¼ã¿ã¼ã®ã¤ã³ããã¯ã¹ãæ±ããC++: UTF-8 ã®æååã1æåãã¤è¡¨ç¤ºãã (std::string)C++: UTF-8 ã®æååã®é·ããæ±ãã (std::string)C++: ã³ã¼ããã¤ã³ããã UTF-8 ã®æåãçæãã (std
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}