From f1d2f49f3c524ee33c3fb691f0467380198a43e9 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 10 Aug 2024 22:52:52 +0300 Subject: [PATCH] __cplusplus --- code/C++/__cplusplus.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 code/C++/__cplusplus.cpp diff --git a/code/C++/__cplusplus.cpp b/code/C++/__cplusplus.cpp new file mode 100644 index 0000000..72e1240 --- /dev/null +++ b/code/C++/__cplusplus.cpp @@ -0,0 +1,11 @@ +#include + +/** + * Выводит версию C++ + */ + +int main() { + std::cout << "C++ version: " << __cplusplus << std::endl; + + return EXIT_SUCCESS; +}