Lots of work
This commit is contained in:
11
example/executable/entry.cpp
Normal file
11
example/executable/entry.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <iostream>
|
||||
#if __cplusplus >= 202302L
|
||||
# define print(x) std::print(#x)
|
||||
#else // Old C++ version.
|
||||
# define print(x) std::cout << #x << std::endl
|
||||
#endif // Check C++ version.
|
||||
|
||||
|
||||
int main() {
|
||||
print("Hello, World!");
|
||||
}
|
||||
Reference in New Issue
Block a user