Advertisement
Josif_tepe

Untitled

May 11th, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #include <iostream>
  2. #include <queue>
  3. #include <cmath>
  4. #include <algorithm>
  5. using namespace std;
  6.  
  7. struct Student {
  8.     int br_indeks;
  9.     int godina_na_raganje;
  10.     string ime, prezime;
  11.    
  12.     Student() {}
  13.     Student(int _br_indeks, int _godina_na_raganje, string _ime, string _prezime) {
  14.         br_indeks = _br_indeks;
  15.         godina_na_raganje = _godina_na_raganje;
  16.         ime = _ime;
  17.         prezime = _prezime;
  18.     }
  19.    
  20. };
  21. int main() {
  22.     Student s(123, 2001, "josif", "tepegjozov");
  23.    
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement