diff --git a/README.md b/README.md index e845566..7e59600 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -README +# README diff --git a/.clang-format b/c/.clang-format similarity index 100% rename from .clang-format rename to c/.clang-format diff --git a/.vscode/settings.json b/c/.vscode/settings.json similarity index 100% rename from .vscode/settings.json rename to c/.vscode/settings.json diff --git a/a.out b/c/a.out old mode 100755 new mode 100644 similarity index 100% rename from a.out rename to c/a.out diff --git a/main.c b/c/main.c similarity index 100% rename from main.c rename to c/main.c diff --git a/cpp/.clang-format b/cpp/.clang-format new file mode 100644 index 0000000..271b561 --- /dev/null +++ b/cpp/.clang-format @@ -0,0 +1,9 @@ +# Defines the Chromium style for automatic reformatting. +# http://clang.llvm.org/docs/ClangFormatStyleOptions.html +Language: Cpp +BasedOnStyle: Google +ColumnLimit: 120 +AlignConsecutiveMacros: true +AlignConsecutiveDeclarations: true +AlignConsecutiveAssignments: true +AlignOperands: true \ No newline at end of file diff --git a/cpp/.vscode/settings.json b/cpp/.vscode/settings.json new file mode 100644 index 0000000..594da2f --- /dev/null +++ b/cpp/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "files.associations": { + "strings.h": "c", + "stat.h": "c" + } +} \ No newline at end of file diff --git a/cpp/main.cpp b/cpp/main.cpp new file mode 100644 index 0000000..e69de29