#include <event2/event.h> #include <iostream> using namespace std; int main() { cout << "test libevent. "; event_base * base = event_base_new(); if (base) { cout << "event_base_new success. "; } return 0; }
#include <event2/event.h> #include <iostream> using namespace std; int main() { cout << "test libevent. "; event_base * base = event_base_new(); if (base) { cout << "event_base_new success. "; } return 0; }