commit b16f961043533e32420930377ab6b22a86851b02 Author: tabidachinokaze Date: Thu Nov 13 11:43:39 2025 +0800 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..757fee3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..45730b2 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 4.0) +project(isobus_demo) + +set(CMAKE_CXX_STANDARD 20) + +add_executable(isobus_demo main.cpp) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..9290406 --- /dev/null +++ b/main.cpp @@ -0,0 +1,16 @@ +#include + +// TIP 要Run代码,请按 或点击装订区域中的 图标。 +int main() { + // TIP 当文本光标位于 lang 变量名称处时,按 可以查看 CLion 如何帮助您重命名该变量。 + auto lang = "C++"; + std::cout << "Hello and welcome to " << lang << "!\n"; + + for (int i = 1; i <= 5; i++) { + // TIP 按 开始调试代码。我们已为您设置了一个 断点,但您可以随时按 添加更多断点。 + std::cout << "i = " << i << std::endl; + } + + return 0; + // TIP 请访问 jetbrains.com/help/clion/ 查看 CLion 帮助。此外,您还可以从主菜单中选择“帮助 | 学习 IDE 功能”,尝试 CLion 的交互式课次。 +} \ No newline at end of file