|  | Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions |

# main.cpp Example File
network/fortuneserver/main.cpp

        #include <QApplication>

        #include <stdlib.h>
        #include <time.h>

        #include "server.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            Server server;
            server.show();
            srand(time(0));
            return server.exec();
        }