initial commit

This commit is contained in:
dl92
2026-01-06 15:05:27 +00:00
parent a94f174a39
commit 62ab80b1d6
25 changed files with 1291 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#include "calculator.h"
int Calculator::add(int a, int b) {
return a + b;
}

View File

@@ -0,0 +1,9 @@
#ifndef CALCULATOR_H
#define CALCULATOR_H
class Calculator {
public:
int add(int a, int b);
};
#endif // CALCULATOR_H

View File

@@ -0,0 +1,16 @@
#include <iostream>
#include "spdlog/spdlog.h"
#include "calculator.h"
int main() {
spdlog::info("Hello, Modern C++! Initializing trading strategy...");
Calculator calc;
int result = calc.add(40, 2);
spdlog::info("The result of 40 + 2 is: {}", result);
std::cout << "Check your terminal for spdlog output!" << std::endl;
return 0;
}