Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (28 sloc) 463 Bytes
/*
*/
#include <iostream>
#include <zzz/core.hpp>
namespace zzz {
core::core(const unsigned int number,
const std::string text)
: _number(number)
, _text(text)
{
std::cout << "Object created!" << std::endl;
}
unsigned int
core::get_number(void)
{
return _number;
}
unsigned int
core::get_incremented_number(void)
{
return _number + 1;
}
std::string
core::get_text(void)
{
return _text;
}
}
You can’t perform that action at this time.