![]() |
ممكن شرح هذا الكود الصغير وتوضيح استخدام this كود PHP: class cat { int age; public: void getage(int a) { age = a; } cat& operator=(const cat& c1) { age = c1.age; return *this; }}; cat foo; foo.getage(2); cat dezy; dezy = foo; |
| الساعة الآن 03:16 AM |
Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir