#include <iostream>
using namespace std;
/**
* myapi/include/Printer.h
*/
namespace api {
class Printer {
public:
void print();
};
}
/**
* mylib/src/MyPrinter.cpp
*/
namespace api {
void Printer::print() {
cout << "hello" << endl;
}
}
/**
* myapp/src/main.cpp
*/
int main() {
api::Printer printer;
printer.print();
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKLyoqCiAqICAgIG15YXBpL2luY2x1ZGUvUHJpbnRlci5oCiAqLwpuYW1lc3BhY2UgYXBpIHsKCmNsYXNzIFByaW50ZXIgewpwdWJsaWM6Cgl2b2lkIHByaW50KCk7Cn07Cgp9CgovKioKICogICAgbXlsaWIvc3JjL015UHJpbnRlci5jcHAKICovCm5hbWVzcGFjZSBhcGkgewoKdm9pZCBQcmludGVyOjpwcmludCgpIHsKCWNvdXQgPDwgImhlbGxvIiA8PCBlbmRsOwp9Cgp9CgovKioKICogICAgbXlhcHAvc3JjL21haW4uY3BwCiAqLwppbnQgbWFpbigpIHsKCWFwaTo6UHJpbnRlciBwcmludGVyOwoJcHJpbnRlci5wcmludCgpOwp9