added folder structure
This commit is contained in:
BIN
Source/a.out
Normal file
BIN
Source/a.out
Normal file
Binary file not shown.
@ -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;
|
||||
};
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user