Cpp’de şablon ve friend kullanımı
# include <iostream.h> # include <string.h> #define MAX 1 #define MIN 0 struct hilmi { int yas; float boy; char ad[20]; } ; template <class Type> class samp { Type dizi[MAX]; int sira; public: samp(); int gir(Type gelen); int bul(Type gelen); int boyut(void); friend int operator==(struct hilmi a,struct hilmi b ); friend istream &operator>>(istream &in,samp [...]

