diff --git a/content/posts/2024/cpp/get-variable-type.md b/content/posts/2024/cpp/get-variable-type.md new file mode 100644 index 0000000..8dca557 --- /dev/null +++ b/content/posts/2024/cpp/get-variable-type.md @@ -0,0 +1,14 @@ +--- +title: "πŸ—³οΈ ΠŸΠΎΠ»ΡƒΡ‡Π΅Π½ΠΈΠ΅ Ρ‚ΠΈΠΏΠ° ΠΈΠ· ΠΏΠ΅Ρ€Π΅ΠΌΠ΅Π½Π½ΠΎΠΉ Π² C++" +date: 2024-12-02T11:38:24+03:00 +draft: false +tags: [cpp, development, tips] +--- + +ΠŸΡ€ΠΈΠΌΠ΅Ρ€: + +```cpp +#include +... +std::cout << typeid(variable).name() << std::endl; +```