https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features
https://libcxx.llvm.org/docs/UsingLibcxx.html
See _LIBCPP_NO_VCRUNTIME
.
#include <windows.h> | |
#include <filesystem> | |
#include <iostream> | |
#include <sstream> | |
#include <string> | |
int main(int argc, char* argv[]) { | |
// Report command and parameter lengths. | |
if (argc > 1) { | |
std::cout |
// https://aka.ms/terminal | |
{ | |
// https://aka.ms/terminal-global-settings | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"copyOnSelect": true, | |
"copyFormatting": true, | |
"showTabsInTitlebar": false, | |
"showTerminalTitleInTitlebar": true, |
The Iliad (Homer) | |
The Odyssey (Homer) | |
The Republic (Plato) | |
Metamorphoses (Ovid) | |
Apocolocyntosis (Seneca) | |
Dubliners (James Joyce) | |
Exiles (James Joyce) | |
Ulysses (James Joyce) | |
Leviathan (Thomas Hobbes) | |
Meditations (Marcus Aurelius) |
* text=lf | |
*.cmd text eol=crlf | |
*.rc text eol=crlf |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
max_line_length = 120 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 2 |
# Clang-Format Configuration | |
--- | |
BasedOnStyle: LLVM | |
# Indent | |
ConstructorInitializerIndentWidth: 2 | |
ContinuationIndentWidth: 2 | |
IndentPPDirectives: AfterHash | |
IndentWrappedFunctionNames: false |
# Clang-Tidy Configuration | |
--- | |
Checks: "-*,\ | |
clang-analyzer-*,\ | |
-clang-analyzer-deadcode.DeadStores,\ | |
clang-diagnostic-*,\ | |
bugprone-*,\ | |
-bugprone-dynamic-static-initializers,\ | |
-bugprone-forward-declaration-namespace,\ | |
-bugprone-macro-parentheses,\ |
Install Microsoft Edge and configure edge://settings
.
Privacy and services
+ Privacy
Allow sites to check if you have payment methods saves: Off
+ Services
Use a web service to help resolve navigation errors: Off
Suggest similar sites when a website can't be found: Off
#pragma once | |
#include <fmt/color.h> | |
#include <spdlog/details/pattern_formatter.h> | |
#include <spdlog/sinks/sink.h> | |
class sink : public spdlog::sinks::sink { | |
public: | |
sink(spdlog::color_mode mode = spdlog::color_mode::automatic) { | |
styles_[spdlog::level::trace] = fmt::fg(fmt::terminal_color::bright_black) | fmt::emphasis::bold; | |
styles_[spdlog::level::debug] = fmt::fg(fmt::terminal_color::bright_white) | fmt::emphasis::bold; |