From 9e63ff3f676fac058a0582ec60b77131a171a9d1 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sun, 12 Jan 2025 20:35:15 +0100 Subject: [PATCH] Strings --- strings/Makefile | 5 +++++ strings/main.cc | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100644 strings/Makefile create mode 100644 strings/main.cc diff --git a/strings/Makefile b/strings/Makefile new file mode 100644 index 0000000..60bee61 --- /dev/null +++ b/strings/Makefile @@ -0,0 +1,5 @@ +# Only define if needed: +# TARGET = main.elf +# SRCS = main.cc + +include ../config.mk diff --git a/strings/main.cc b/strings/main.cc new file mode 100644 index 0000000..c6ad1be --- /dev/null +++ b/strings/main.cc @@ -0,0 +1,8 @@ +#include +#include + +int main() { + std::string a = "KEK"; + a.append(std::to_string(10)); + std::cout << a << std::endl; +}