__cplusplus

This commit is contained in:
Alexander Popov 2024-08-10 22:52:52 +03:00
parent 69c6160a72
commit f1d2f49f3c

11
code/C++/__cplusplus.cpp Normal file
View File

@ -0,0 +1,11 @@
#include <iostream>
/**
* Выводит версию C++
*/
int main() {
std::cout << "C++ version: " << __cplusplus << std::endl;
return EXIT_SUCCESS;
}