2011-10-15から1日間の記事一覧

C++ で FibBuzz

震源地: Codnote.net やりましょう. fibbuzz.cpp #if !defined(BOOST_PP_IS_ITERATING) #include <boost/preprocessor/iteration/iterate.hpp> #include <boost/preprocessor/slot/slot.hpp> #define BOOST_PP_VALUE 1 #include BOOST_PP_ASSIGN_SLOT(1) #define BOOST_PP_VALUE 1 #include BOOST_PP_ASSIGN_SLOT(2) #define BOOST_P…</boost/preprocessor/slot/slot.hpp></boost/preprocessor/iteration/iterate.hpp>