From faf188e4ac725d094b6293787b53a788ba72c0c4 Mon Sep 17 00:00:00 2001 From: sebastian Date: Wed, 29 Jul 2026 10:04:04 +0200 Subject: [PATCH] Initialize C++ Project --- .idea/.gitignore | 10 ++ .idea/ColorRace.iml | 8 + .idea/editor.xml | 346 ++++++++++++++++++++++++++++++++++++++++++++ .idea/misc.xml | 7 + .idea/modules.xml | 8 + CMakeLists.txt | 6 + main.cpp | 18 +++ 7 files changed, 403 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/ColorRace.iml create mode 100644 .idea/editor.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 CMakeLists.txt create mode 100644 main.cpp diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..30cf57e --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,10 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/ColorRace.iml b/.idea/ColorRace.iml new file mode 100644 index 0000000..bc2cd87 --- /dev/null +++ b/.idea/ColorRace.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 0000000..1798069 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,346 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..0b76fe5 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..eb3a4f4 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0251899 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 4.2) +project(ColorRace) + +set(CMAKE_CXX_STANDARD 20) + +add_executable(ColorRace main.cpp) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..0b3fa1c --- /dev/null +++ b/main.cpp @@ -0,0 +1,18 @@ +#include + +// TIP To Run code, press or click the icon in the gutter. + +int main() { + // TIP Press when your caret is at the lang variable name to see how CLion can help you rename it. + + const auto lang = "C++"; + std::cout << "Hello and welcome to " << lang << "!\n"; + + for (int i = 1; i <= 5; i++) { + // TIP Press to start debugging your code. We have set one breakpoint for you, but you can always add more by pressing . + std::cout << "i = " << i << std::endl; + } + + return 0; + // TIP See CLion help at jetbrains.com/help/clion/. Also, you can try interactive lessons for CLion by selecting 'Help | Learn IDE Features' from the main menu. +} \ No newline at end of file -- 2.43.0