class Trougao
{
public:
Trougao(void);
Trougao(int,int,int);
~Trougao(void);
int getA();
int getB();
int getC();
void setA(int);
void setC(int);
void setB(int);
private:
int a;
int b;
int c;
}
Editirao sam ti post tako da kod bude pregledniji. Ubuduće koristi CODE tagove.
Ovako na prvu ne vidim nikakvu grešku... Probat ću kompajlirat pa ti javim.
BTW, #include "stdafx.h" odaje da koristič Visual Studio, očito na Windowsima..
Like some other animals, the gecko can perform a neat trick when threatened by a predator: it can amputate its own tail. The dropped tail serves to distract the predator, and by losing it, the lizard can run faster.
Like some other animals, the gecko can perform a neat trick when threatened by a predator: it can amputate its own tail. The dropped tail serves to distract the predator, and by losing it, the lizard can run faster.