added a funny default path to the main cpp file and header to the parser

master
ieee 802.11ac 2 years ago
parent 1fdb982ada
commit eba90f86dd

3
.gitignore vendored

@ -1,2 +1,3 @@
# i'm keeping my .kdev4 files fuck you
#all my homies hate vs code
.vscode/*
build/*

@ -7,7 +7,7 @@ class Item {
uint32_t count;
char* internalId;
public:
Item(uint32_t newCt, char* newId);
Item(uint32_t, char*);
virtual ~Item();
};
#endif

@ -0,0 +1,10 @@
#ifndef JSON_MAINPARSER_H
#define JSON_MAINPARSER_H
class jsonObject {
private:
FILE* loadedFile;
};
#endif

@ -5,7 +5,11 @@ behold! my garbage code. (and other people's better code but whatever)
#include <sys/ioctl.h>
#include <string.h>
std::string filename = "main";
#ifdef __linux__
char* defaultPath = "$HOME/.config/factorioclone";
#endif
char* filename = "main";
int main(int argc, char **argv)
{

Loading…
Cancel
Save