-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
43 lines (32 loc) · 707 Bytes
/
main.cpp
File metadata and controls
43 lines (32 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <QApplication>
#include <QtCore>
#include <QPushButton>
#include <stdlib.h>
#include "menuwindow.h"
#include "server.h"
#include "client.h"
#include "map.h"
#include "mainwindow.h"
#include "gamewindow.h"
#include <direct.h>
#include <stdio.h>
#include <concurrent_queue.h>
#include <windows.h>
#define GetCurrentDir _getcwd
concurrency::concurrent_queue<int> test;
class MonThreadCustom : public QThread
{
private:
void run()
{
for (int i = 0; i < 1000000; i++) {
test.push(i);
}
}
};
int main(int argc, char *argv[]) {
QApplication app(argc, argv);
MenuWindow menu_window;
menu_window.show();
return app.exec();
}