#include "server.h" int main() { Server* server = new Server(); if (server->Init() == 0) if (server->Ready() == 0) server->Run(); delete server; }