>uzunluk;
12 | int *p = DiziOlusturSifirla(uzunluk);
13 | cout<yas;
9 | ahmet->yas = mehmet->yas;
10 | mehmet->yas = yasYedek;
11 | cout<<*ahmet;
12 | cout<<*mehmet;
13 | delete ahmet;
14 | delete mehmet;
15 | return 0;
16 | }
17 |
--------------------------------------------------------------------------------
/Week1/Sample1/include/Ogrenci.hpp:
--------------------------------------------------------------------------------
1 | #ifndef OGRENCI_HPP
2 | #define OGRENCI_HPP
3 |
4 | #include
5 | using namespace std;
6 |
7 | class Ogrenci{
8 | private:
9 | int yas;
10 | double boy;
11 | public:
12 | Ogrenci(int,double);
13 | Ogrenci();
14 | void YasIlerle(int);
15 | void BoyUza(double);
16 | int getYas();
17 | double getBoy();
18 | ~Ogrenci();
19 | };
20 |
21 | #endif
22 |
--------------------------------------------------------------------------------
/Week5/LinkedList/include/Node.hpp:
--------------------------------------------------------------------------------
1 | #ifndef NODE_HPP
2 | #define NODE_HPP
3 |
4 | #include
5 | using namespace std;
6 |
7 | template
8 | class Node{
9 | public:
10 | Object item;
11 | Node