Added configs, fixed socket object in main.cpp
This commit is contained in:
parent
8ca744f936
commit
200af33eff
3 changed files with 20 additions and 1 deletions
5
.clangd
Normal file
5
.clangd
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
CompileFlags:
|
||||||
|
Add: [
|
||||||
|
"--target=i686-w64-windows-gnu",
|
||||||
|
"-D_M_IX86"
|
||||||
|
]
|
||||||
14
.vscode/c_cpp_properties.json
vendored
Normal file
14
.vscode/c_cpp_properties.json
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Win32",
|
||||||
|
"compilerPath": "D:/MinGW/bin/g++.exe",
|
||||||
|
"intelliSenseMode": "windows-gcc-x64",
|
||||||
|
"includePath": [
|
||||||
|
"${workspaceFolder}/**"
|
||||||
|
],
|
||||||
|
"defines": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
||||||
|
|
@ -12,7 +12,7 @@ Logger log;
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
log.raw("mcc v0.0.0");
|
log.raw("mcc v0.0.0");
|
||||||
Network::Socket socket;
|
Socket socket;
|
||||||
socket.winInit();
|
socket.winInit();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue