Analizo
view release on metacpan or search on metacpan
t/samples/hello_world/cpp/hello_world.cc view on Meta::CPAN
#include <iostream>
#include "hello_world.h"
int HelloWorld::_id_seq = 0;
int HelloWorld::public_variable = 0;
void HelloWorld::private_method() {
std::cout << "prrr" << std::endl;
}
HelloWorld::HelloWorld() {
this->_id = (HelloWorld::_id_seq++);
}
void HelloWorld::destroy() {
std::cout << "Goobdye, world! My id is " << this->_id << std::endl;
}
void HelloWorld::say() {
std::cout << "Hello, world! My id is " << this->_id << std::endl;
}
( run in 0.300 second using v1.01-cache-2.11-cpan-5511b514fd6 )