Initial Commit

This commit is contained in:
quentin 2022-08-04 18:22:48 -05:00
commit b43917ce73
10 changed files with 69 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
cmake-build-debug/

8
.idea/.gitignore generated vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

2
.idea/budget.iml generated Normal file
View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<module classpath="CMake" type="CPP_MODULE" version="4" />

4
.idea/misc.xml generated Normal file
View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
</project>

8
.idea/modules.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/budget.iml" filepath="$PROJECT_DIR$/.idea/budget.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

6
CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 3.17)
project(budget)
set(CMAKE_CXX_STANDARD 20)
add_executable(budget src/main.cpp src/money/account.cpp src/money/account.h)

5
src/main.cpp Normal file
View File

@ -0,0 +1,5 @@
//
// Created by quentin on 8/3/22.
//

9
src/money/account.cpp Normal file
View File

@ -0,0 +1,9 @@
//
// Created by quentin on 8/4/22.
//
#include "account.h"
account::account(const bool withdrawable) : withdrawable(withdrawable) {
}

20
src/money/account.h Normal file
View File

@ -0,0 +1,20 @@
//
// Created by quentin on 8/4/22.
//
#ifndef BUDGET_ACCOUNT_H
#define BUDGET_ACCOUNT_H
class account {
public:
account(const bool withdrawable);
const bool withdrawable;
private:
std::list<> assets;
};
#endif //BUDGET_ACCOUNT_H