설정 끝

This commit is contained in:
2025-03-30 23:13:12 +09:00
parent 5428cb3f00
commit ddd36f7a95
3 changed files with 32 additions and 11 deletions

7
.clang-format Normal file
View File

@@ -0,0 +1,7 @@
# Google C/C++ Code Style Settings
Language: Cpp
BasedOnStyle: Google
Standard: c++20
UseTab: Never
ColumnLimit: 80

14
.editorconfig Normal file
View File

@@ -0,0 +1,14 @@
root = true
[*.{cpp,h,hpp,c}]
indent_style = space
indent_size = 2
insert_final_newline = true
tab_width = 2
charset = utf-8
trim_trailing_whitespace = true
[*.{vert,frag,glsl}]
indent_style = space
indent_size = 4
tab_width = 4

View File

@@ -1,19 +1,19 @@
#include <iostream>
#include <GLFW/glfw3.h>
#include <vulkan/vulkan.h>
#include <cmath>
#include <cstdint>
#include <filesystem>
#include <glm/glm.hpp>
#include <GLFW/glfw3.h>
#include <cstdint>
#include <cmath>
#include <gsl/gsl>
#include <iostream>
int main(std::int32_t argc, gsl::zstring* argv)
{
gsl::span<gsl::zstring> arguments(argv, argc);
std::sort(arguments.begin(), arguments.end());
int main(std::int32_t argc, gsl::zstring* argv) {
gsl::span<gsl::zstring> arguments(argv, argc);
std::sort(arguments.begin(), arguments.end());
gsl::not_null<gsl::zstring*> arguments_pointer_validated = argv;
gsl::not_null<gsl::zstring*> arguments_pointer_validated = argv;
std::cout << "Hello, World!" << std::endl;
return 0;
std::cout << "Hello, World!" << std::endl;
return 0;
}