added folder structure

This commit is contained in:
g-spacewhale
2017-11-17 22:10:36 +01:00
parent d4de31d21d
commit b05fedb76e
15 changed files with 3171 additions and 34 deletions

BIN
Source/a.out Normal file

Binary file not shown.

View File

@ -1,16 +1,16 @@
#include <stdint.h>
class Part
{
public:
Part(): connections(0){}
~Part() {}
uint8_t getConnections() const
{return connections;}
void setConnections(uint8_t newconnections)
{connections = newconnections;}
private:
uint8_t connections;
#include <stdint.h>
class Part
{
public:
Part(): connections(0){}
~Part() {}
uint8_t getConnections() const
{return connections;}
void setConnections(uint8_t newconnections)
{connections = newconnections;}
private:
uint8_t connections;
};

View File

@ -1,19 +1,19 @@
#include <iostream>
#include <bitset>
#include <cstdlib>
#include <time.h>
#include <vector>
#include <algorithm>
#include "header/input.h"
using namespace std;
int main()
{
vector<Part> myFirstPuzzle;
Part myFirstPart;
myFirstPart.setConnections(0b00101000);
myFirstPuzzle.push_back(myFirstPart);
cout << "Hello World" << endl;
}
#include <iostream>
#include <bitset>
#include <cstdlib>
#include <time.h>
#include <vector>
#include <algorithm>
#include "header/input.h"
using namespace std;
int main()
{
vector<Part> myFirstPuzzle;
Part myFirstPart;
myFirstPart.setConnections(0b00101000);
myFirstPuzzle.push_back(myFirstPart);
cout << "Hello World" << endl;
}