You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
348 B
26 lines
348 B
2 years ago
|
#include <iostream>
|
||
|
#include <string>
|
||
|
#include "custom.h"
|
||
|
|
||
|
proto::proto(std::string cname)
|
||
|
{
|
||
|
std::cout<< "FFFFUUUUU" <<std::endl;
|
||
|
}
|
||
|
|
||
|
void proto::setname(std::string bname)
|
||
|
{
|
||
|
name = bname;
|
||
|
}
|
||
|
|
||
|
|
||
|
std::string proto::getname()
|
||
|
{
|
||
|
return name;
|
||
|
}
|
||
|
|
||
|
proto::~proto(){
|
||
|
std::cout << "I am destroyed" << std::endl;
|
||
|
}
|
||
|
|
||
|
//g++ custom_user.cpp custom.cpp -o custom
|