2013-08-01ãã1ã¶æéã®è¨äºä¸è¦§
å ãã¿ã«è¼ã£ã¦ããå¤ææ¹æ³ã使ã£ããµã³ãã«ãæ¸ãã¦ã¿ãã*1 atoi #include <cstdlib> #include <iostream> #include <string> #include <typeinfo> int main() { const std::string str("123"); auto num = std::atoi(str.c_str()); std::cout << typeid(num).name() << " : " << num << std::e</typeinfo></string></iostream></cstdlib>â¦
以åã®è¨äºã§BOOST_PP_REPEATã«ã¤ãã¦æ¸ãã¾ããã BOOST_PP_REPEATã¯ä¼¼ããããªè¨è¿°ãç¹°ãè¿ãéã«å©ç¨ã§ãã¾ããä¾ãã°ã以ä¸ã®æ§ã§ã(ãã®ã³ã¼ãèªä½ã«æå³ã¯ããã¾ãããâ¦) #include <boost/preprocessor/cat.hpp> #include <boost/preprocessor/repeat.hpp> #define VALUE(z, n, d) const int BOOST_PP_CAT(VALUE_, </boost/preprocessor/repeat.hpp></boost/preprocessor/cat.hpp>â¦
è²ã ãããããã¨ããã£ã¦æãã¤ããªãã¨ããç¶æ ãªã®ã§æ´çããã ãããªããã°ãªããªãã㨠就活 åç ã®ããã°ã©ã ããããã㨠ãªã¬ãªã¬ã©ã¤ãã©ãªæ¸ã C++ã©ã¤ãã©ãª WinAPIã©ããã©ã¤ãã©ãª DirectXã©ããã©ã¤ãã©ãª DXã©ã¤ãã©ãªã§3Dã²ã¼ã å¶ä½ Direcâ¦