Analizo
view release on metacpan or search on metacpan
t/samples/hello_world/cpp/main.cc view on Meta::CPAN
#include "hello_world.h"
int main() {
HelloWorld hello1;
HelloWorld hello2;
hello1.say();
hello2.say();
// even if we don't need to destroy these objects explicitly, we call
// destroy() to make this similar to the C code
hello1.destroy();
hello2.destroy();
return 0;
}
( run in 0.297 second using v1.01-cache-2.11-cpan-5511b514fd6 )