2025-12-27 03:49:34 -06:00

25 lines
320 B
C++

#include <exception>
#include <iostream>
#include <fstream>
#include "SmartStreams.hpp"
int main() {
auto test = nb::TerminalColor(9, 2030);
std::cout << test;
std::ofstream file;
file.open("test.txt");
if (file.is_open()) {
file << test;
}
file.close();
return 0;
}