initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/.idea
|
||||
6
CMakeLists.txt
Normal file
6
CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 4.0)
|
||||
project(isobus_demo)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
add_executable(isobus_demo main.cpp)
|
||||
16
main.cpp
Normal file
16
main.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include <iostream>
|
||||
|
||||
// TIP 要<b>Run</b>代码,请按 <shortcut actionId="Run"/> 或点击装订区域中的 <icon src="AllIcons.Actions.Execute"/> 图标。
|
||||
int main() {
|
||||
// TIP 当文本光标位于 <b>lang</b> 变量名称处时,按 <shortcut actionId="RenameElement"/> 可以查看 CLion 如何帮助您重命名该变量。
|
||||
auto lang = "C++";
|
||||
std::cout << "Hello and welcome to " << lang << "!\n";
|
||||
|
||||
for (int i = 1; i <= 5; i++) {
|
||||
// TIP 按 <shortcut actionId="Debug"/> 开始调试代码。我们已为您设置了一个 <icon src="AllIcons.Debugger.Db_set_breakpoint"/> 断点,但您可以随时按 <shortcut actionId="ToggleLineBreakpoint"/> 添加更多断点。
|
||||
std::cout << "i = " << i << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
// TIP 请访问 <a href="https://www.jetbrains.com/help/clion/">jetbrains.com/help/clion/</a> 查看 CLion 帮助。此外,您还可以从主菜单中选择“帮助 | 学习 IDE 功能”,尝试 CLion 的交互式课次。
|
||||
}
|
||||
Reference in New Issue
Block a user