Posted By: jerryiii (Vsude dobre, v CR nejhur) on 'CZprogram'
Title:     Re: g++ & C++
Date:      Tue Jan 14 02:19:59 2003

> Ahoj
> pouzivam g++ verzi 3.2.1. A prekladac mi hlasi tuto chybu:
> 
> cannot call member function ` size_t TRandClass::GetRandom(unsigned int) 
> const' without object 
> 
> Inkriminovana cast pritom vypada takto:
> 
> GetRandom( mServer->Akce_size());

Protoze GetRandom neni staticka metoda tak ji musis volat s objektem, tj jako 
randClass.GetRandom nebo prandClass->GetRandom anebo uvnitr nestaticky metody 
TRandClass. 

> Netusim, kde mam chybu, ve 2.96 mi to fungovalo. 

Tomu neverim, leda ze by tam byla chyba.

> Korusef[ Libor Dener]
>                    (-: CauCau :-)

          Jerry III

Enough said ...
http://jerryiii.home.sprynet.com/mica/index.htm

Search the boards