__cplusplus
This commit is contained in:
parent
69c6160a72
commit
f1d2f49f3c
11
code/C++/__cplusplus.cpp
Normal file
11
code/C++/__cplusplus.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Выводит версию C++
|
||||||
|
*/
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
std::cout << "C++ version: " << __cplusplus << std::endl;
|
||||||
|
|
||||||
|
return EXIT_SUCCESS;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user