Advertisement
liza271099l

Untitled

Mar 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #include <iostream>
  2. class TConferention
  3. {
  4. private:
  5.     char name[50] ;
  6.     char vid[50];
  7.     int mounth;
  8.     int year;
  9.     char city[50];
  10. public:
  11.     TConferention(int mounth, int year): mounth(_mounth), year(_year)
  12.     {
  13.         name{ 0 };
  14.         vid{ 0 };
  15.         city{ 0 };
  16.     }
  17.     void set_input(char name, char vid, int mounth, int year, char city)
  18.     {
  19.         for (int i = 0; i < n; i++)
  20.         {
  21.             cout << name_1;
  22.             cin >> name_1;
  23.         }
  24.  
  25.     }
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement