AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Languages, Compilers and Interpreters C,C++,C#,.NET,Java,PHP,Perl,SQL and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Sep 21, 2002, 09:33   #1
В бой аргхххххххх!
 
hov's Avatar
 
Join Date: Sep 2002
Location: Vik, Medieval Norway
Posts: 1,480
Rep Power: 6
Reputation: 42
Send a message via ICQ to hov
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!
hov is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:44.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link