Advertisement
liza271099l

Untitled

Mar 22nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 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()
  12.     {
  13.         name{0};
  14.         vid{ 0 };
  15.         mounth = 0;
  16.         city{ 0 };
  17.         year = 0;
  18.     }
  19.     void set_input(char name, char vid, int mounth, int year, char city)
  20.     {
  21.         for (int i = 0; i < n; i++)
  22.         {
  23.             cout << name_1;
  24.             cin >> name_1;
  25.         }
  26.  
  27.     }
  28. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement