Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters
Register

Reply
 
LinkBack Thread Tools
Old 21.09.2002, 10:33   #1
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: 09 2002
Location: Vik, Medieval Norway
Age: 35
Posts: 1,513
Downloads: 12
Uploads: 0
Reputation: 43 | 3
Post static variables in class member functions

Example code

Code:
  
class aaa
{
public:
   f()
   {
       static int tiv=5;
   }
};
Asem vor ashxatacneluc heto parzvec vor bolor objectneri hamar pahvuma tiv-i mi hat kopia. Orinak ete mi objekti mejic tiv++; anes heto mi urish objecti mejic cout << tiv; kstanas mekov metsatsrats arjeq. Aisinq voncvor sovorakan class-i andam static popoxakany.
Hetaqrqir klini mi qich manramasn bacatrutiunner lsel.

Hov.
__________________
Rock Hovhannes.

Дневник
Stryfe.Am - Coming Soon!
Reply With Quote
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 04:25.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.