설정 끝
This commit is contained in:
7
.clang-format
Normal file
7
.clang-format
Normal 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
14
.editorconfig
Normal 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
|
||||
22
src/main.cpp
22
src/main.cpp
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user