let's try this again

master
ieee 802.11ac 2 years ago
parent df44265c97
commit b8a9c0f22a

@ -0,0 +1,2 @@
default:
g++ -o build/main -fsanitize=undefined -fsanitize=address src/main.cpp

@ -0,0 +1,10 @@
#ifndef BUILDING_HPP
#define BUILDING_HPP
namespace e //placeholder namespace name because i don't have a copyright-free username; IEEE might not like me if i release commercial software under my current one
{
class Building
{
};
};
#endif

@ -0,0 +1,10 @@
#include <iostream>
#include "resource.hpp"
namespace e
{
};

@ -0,0 +1,14 @@
#ifndef RESOURCE_HPP
#define RESOURCE_HPP
namespace e
{
class Resource
{
private:
int count;
public:
int getResourceCount();
bool setResourceCount(int i);
};
};
#endif

@ -0,0 +1,13 @@
#include <iostream>
const std::string version = "0.01a";
int termLength, termHeight;
int main()
{
std::cout << "welcome! please set your terminal window's size in characters: " << std::endl;
std::cout << "length: ";
std::cin >> termLength;
std::cout << "\nheight: ";
std::cin >> termHeight;
}
Loading…
Cancel
Save