anon606

Untitled

Oct 20th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. //Это из .h файла
  2. void get_some_prop();
  3. void set_some_prop(int);
  4. //Реализация из .cpp
  5. void Basic_class::get_some_prop()
  6. {
  7.     printf("some_prop of Basic Class = %i\n", some_prop);
  8. }
  9.  
  10. void Basic_class::set_some_prop(int val)
  11. {
  12.     some_prop = val;
  13.     printf("some_prop of Basic Class now is %i\n", some_prop);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment