From b824e76a0c9aab344a225c8642715ca5b55a1a1f Mon Sep 17 00:00:00 2001 From: violeteverisland Date: Tue, 24 Feb 2026 14:03:58 +0800 Subject: [PATCH] 12 --- c++常量类型的确定.cpp | 18 ++++++++++++++++++ 字符串.cpp | 14 ++++++++++++++ 转义字符.cpp | 13 +++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 c++常量类型的确定.cpp create mode 100644 字符串.cpp create mode 100644 转义字符.cpp diff --git a/c++常量类型的确定.cpp b/c++常量类型的确定.cpp new file mode 100644 index 0000000..1b9365a --- /dev/null +++ b/c++常量类型的确定.cpp @@ -0,0 +1,18 @@ +// +// Created by violet on 2026/2/24. +// +#include "iostream" +#include "windows.h" +int main() { + SetConsoleOutputCP(CP_UTF8); + long long int i1 = 2212345678; + std::cout< +namespace std { + int x =1; +} +int main() { + int a = 1; + auto b = std::x+1; + std::cout <