Advertisement
Josif_tepe

Untitled

May 7th, 2025
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. class Ucenik {
  5. private:
  6.     char * ime;
  7.    
  8. public:
  9.     Ucenik(char * _ime) {
  10.         ime = new char[strlen(_ime)];
  11.         strcpy(ime, _ime);
  12.        
  13.     }
  14. };
  15.  
  16. int main()
  17. {
  18.  
  19.     return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement