http://stackoverflow.com/questions/24860334/c-demo-programming-confusing-for-class-implement
http://stackoverflow.com/questions/24860334/c-demo-programming-confusing-for-class-implement
class Ball {
public:
#include <iostream>
#include <string>
上篇 使用 libevent 在 timer 使用了兩個 struct event_base 在不同的 thread 執行 ,
看了 http://rxwen.blogspot.tw/2012/11/user-event-in-libevent.html 發現可以使用以下方式讓
#include <iostream>
#include <vector>
#include <iostream>
#include <memory>
#define COUNT_ARGS(...) PP_NARG_IMPL(__VA_ARGS__,PP_RSEQ_N( ) )
#define PP_NARG_IMPL(...) PP_ARG_N(__VA_ARGS__)
template<typename Cont>
typename Cont::const_iterator findNull(const Cont &c)