mirror of
https://github.com/claunia/clion-custom-defined-compiler-examples.git
synced 2025-12-16 19:24:48 +00:00
11 lines
184 B
C++
11 lines
184 B
C++
#include <iostream>
|
|
|
|
#pragma message ("Compile C++")
|
|
extern "C" void c_main(void);
|
|
|
|
int main() {
|
|
std::cout << "Hello, World, from C++!" << std::endl;
|
|
c_main();
|
|
return 0;
|
|
}
|