mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-12-18 21:23:29 +00:00
스킵 구현
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class DPP_EXPORT my_new_class {
|
||||
public:
|
||||
int hats;
|
||||
int clowns;
|
||||
|
||||
my_new_class& set_hats(int new_hats);
|
||||
my_new_class& set_clowns(int new_clowns);
|
||||
};
|
||||
|
||||
my_new_class& my_new_class::set_hats(int new_hats) {
|
||||
hats = new_hats;
|
||||
return *this;
|
||||
}
|
||||
|
||||
my_new_class& my_new_class::set_clowns(int new_clowns) {
|
||||
clowns = new_clowns;
|
||||
return *this;
|
||||
}
|
||||
Reference in New Issue
Block a user