C++
qiita.com ã«ç§»å é ã«#!/usr/bin/swiftã£ã¦æ¸ãã¦ãã㨠chmod a+x hoge.swift ./hoge.swift #swift hoge.swiftã§ãèµ·åã§ãã ã£ã¦æãã§ã¹ã¯ãªããã¿ããã«èµ·åã§ãããã¨ãç¥ã£ãã®ã§ãåå¼·ãã¦ãæå ã«ããperlã¹ã¯ãªãããswift翻訳ãã¦ãã ãã®éã®â¦
ãªãã¸ã㪠S/D Appã§ä½¿ãæ©ä¼ããã£ãã®ã§èª¿ã¹ã¾ãã UUID (Universally Unique Identifier) å ¨ä¸çã§IDãéè¤ããªãç¨åº¦ã«æ¡æ°ã大ãã(éã) Appâ¢ãµã¼ãã¹ãã¨ã«é½åº¦çºè¡ Appãåé¤ãã¦ããååå¾ããã¨ç°ãªãå¤ãçºè¡ãããã åAppéã§çºè¡ãããUUIDã«â¦
C++ã§ã®ä¹±æ°ã®ä½¿ãæ¹ãã¾ã¨ãã¨ãã rand, srand Cã®æ¨æºã©ã¤ãã©ãªã使ãæ¹æ³ãsrandã§ã·ã¼ããè¨å®ãã¦ãrand㧠0以ä¸, RAND_MAX以ä¸ã®æ´æ°ä¹±æ°ãçºçãããã è¯ãããã®ã¯ã® time_t time(time_t *timer); ã使ãããæ¹ãå¼æ°ã®timerã«ã¯æ»ãå¤ã¨åãç¾å¨â¦
Chapter 21. Boost.Random - 1.51.0 æ§ã ãªåå¸ã®ä¹±æ°ã®çæã§ããã Cè¨èªæ¨æºã®rand, srandã¯ã°ãã¼ãã«é¢æ°ã¨ãªã£ã¦ãããã Boost Randomã§ã¯ä¹±æ°è¨ç®ã¯variate_generatorãªãã¸ã§ã¯ãã§ã¾ã¨ã¾ã£ã¦ãã¦ããã C+11ã§ãrandomã使ããããã«ãªã£ãããBooâ¦
C++11 ããã©ã ã¨C++11ã使ããããã«ãªã£ã¦ããªãããBuild Settingsã§åãæ¿ããããã¿ãã(åè) å²ã¨ç°¡åã ã£ãã [Build Settings]ãéãã¦ã[All]ã«ã¹ã¤ãããã(å¤åå§ãã¯[Basic]ã«ãªã£ã¦ãã) [Build Options]ã®ã»ã¯ã·ã§ã³ã§ã³ã³ãã¤ã©ã[Apple LLVâ¦
The Boost Format library - 1.47.0 åãå¼æ°ã®æ°å®å ¨ãªprintfçãªãã® åå空é/ããã boost â»ä¸é¨boost::io空é #include <boost/format.hpp> basic_format class 以ä¸ã®ããã«typedefããã¦ã typedef basic_format<char> format; typedef basic_format<w_char> wformat; 使ãæ¹1(åºæ¬) b</w_char></char></boost/format.hpp>â¦
ééã£ã¦æ¶ããã®ã§å¾©æ§ 競æããã°ã©ãã³ã°ã§ã¯åºæ¬çã«boostã¯ä½¿ããªãã®ã§splitãä½ã£ã ãmysplitã istringstreamã¨back_inserterå©ç¨ ãã¯ã¤ãã¹ãã¼ã¹ã§split std::vector< std::string > mysplit(const std::string &str) { std::istringstream iss(â¦
Boost.Tokenizer Function Conceptã®ç·´ç¿ç¨ã«Shift-JISæåã®åãåºããããã¨ãã®ã¤ãã§ã«ãä½ã£ããã¤ã ç°¡åã«Shift-JISæååã1æåæ¯ã«åå²ãã æ¥æ¬èªæåã³ã¼ããè¦ã¦ä½ã£ãã â»æ£ããShift-JISæååãå ¥åããã¦ãããã¯ãã§ãã¯ãã¦ãªãã®ã§æ³¨æ â¦
lexical_cast - 1.47.0 atoi,atof,sprintf,sscanf, etc.ã使ããã«ãæååint,double, etc. ã®å¤æãã§ããã C++11ã§std::to_string()ã使ããããã«ãªã£ãã®ã§ã使ç¨é »åº¦ã¯æ¸ãã¾ããã lexical_castã¯operator >ãå®ç¾©ãã¨ãã使ããã®ã§ãstd::complexâ¦
Chapter 7. Boost.Foreach - 1.47.0 ãã¯ãã§å®ç¾©ãããforeachã (C+11ã§Range-based for loopããµãã¼ããããã®ã§å¿ è¦ãªããªã£ã¡ããã¾ããã) é åãSTLã³ã³ãããstd::pairã¤ãã¬ã¼ã¿ãNull-terminated string(char and wchar_t)ãåããã â»ãã ãããâ¦
Boost Timer Documentation - 1.46.0 deprecatedã ã¨...ç¥ãããª.mylibã«ä¿åãã åå空é/ããã boost #include <boost/progress.hpp> ã³ã³ã¹ãã©ã¯ã¿ 使ç¨ä¾è¦ããã ãããããã progress_display(unsigned long expected_count, std::ostream & os = std::cout, const std:</boost/progress.hpp>â¦
Visual Studio ã 2010ã«ããã¨ããããããè¿·ã£ãã®ã§ã¡ã¢ã ãã¦ã³ãã¼ãããã«ã Boost C++ Librariesãè½ã¨ãã¦ã解å(/lib/ã«è§£åãããã¨ã«ãã)ã [ã¹ã¿ã¼ãã¡ãã¥ã¼]->[ãã¹ã¦ã®ããã°ã©ã ]->[Microsoft Visual Studio 2010]->[Visual Studio Tools]â¦
Boost String Algorithms Library ã¡ãã£ã¨ã¥ã¤æ´æ° åå空é/ããã boost::algorithm é·ãã®ã§baã¨è¨è¿°ãã #include<boost/algorithm/string.hpp> namespace ba = boost::algorithm; ba::split(&Result, &Input, Pred, eCompress = token_compress_off) Pred(ã»ãã¬ã¼ã¿)ã®æåã§ãæ</boost/algorithm/string.hpp>â¦
Boost.Tokenizer C++ã§splitã使ãããã¨ãã«ä½¿ãã Boost String algorithms Libraryã®ã»ãã§ãããããªã w_charã¨ãã使ããã£ã½ãã åå²é¢æ°ãå®ç¾©ããã°ããã«ããã¤ãã§ã使ãããã åå空é/ããã boost #include<boost/tokenizer.hpp> boost::char_separator ã»ãã¬ã¼</boost/tokenizer.hpp>â¦
C++ã§UTF-8ãæ±ãã¨ãã«ä½ã£ããã®ã UTF-8æååãä¸æååä½ã«åå²ãã UTF-8æåã®2ãã¤ãç®ä»¥éã¯10ã§å§ã¾ãã â0xC0(11000000)ã§ãã¹ãã³ã°ãã¦0x80(10000000)ã«ãªã£ã¦ãã2ãã¤ãç®ä»¥é â»å ¥åãããæååãæ£ããUTF-8æååã«ãªã£ã¦ãããã©ããã¯ãâ¦
Wikipedia æ°å¦ æ°å¦ã®ããããç§ã®åå¿é² tex ç©çãããã°ã©ãã³ã°, etchttp://moondial0.net/archives/www12.plala.or.jp/ksp/ LaTeXã³ãã³ãã·ã¼ãä¸è¦§ tex,matlab,gnuplot,etc.move @KUMAZAWA Yoshiki C++ æ¥è¨2012-02-26 - æãã ãã§å¦ã°ãªãæ¥è¨ ãªâ¦
MeCab (åå¸èª) ãªã¼ãã³ã½ã¼ã¹ã®å½¢æ ç´ è§£æã¨ã³ã¸ã³ãæ¡ä»¶ä»ã確çå ´(CRF: Conditional Random Fields)ã§ãã©ã¡ã¼ã¿æ¨å®ããã¦ãããæ¯è¼çé«éãªå½¢æ ç´ è§£æãå¯è½ãMeCabå°å ¥ã®éãåèã«ãããã¼ã¸ã®ãªã³ã¯ãè²¼ã£ã¦ããã MeCab: Yet Another Part-of-Speâ¦
Boost.Program_options Boost C++ããã¥ã¼ã³ã¢ããããæå 端ã©ã¤ãã©ãªã®åºç« ã§ãç´¹ä»ããã¦ãã¦ã便å©ãããªã®ã§ä½¿ã£ã¦ã¿ããã³ãã³ãã©ã¤ã³å¼æ°ãã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ããåå¾ããããã°ã©ã ã®è¨å®ãªãã·ã§ã³ãç°¡åã«è¨å®ã§ããã(Cãªãéæ¨æºâ¦
Boost C++ããã¥ã¼ã³ã¢ããããæå 端ã©ã¤ãã©ãªãè²·ã£ã¦ã¿ãããã¢ã½ã³ã»ã¨ãã¥ã±ã¼ã·ã§ã³ã®æ¸ç±ã¯ãã£ã±ãé«ããªããã¾ã ãBoostã®ç´¹ä»ã®ã¨ããããèªãã§ããªãããããªã便å©ãªãã®ãããã£ã¦ããæ§åã ãã®æ¬ã§è©³ãã解説ããã¦ããã®ã¯ã©ã¤ãã©ãªã¯12â¦