Hi all ,
this is not realy related but can someone know a good link with an extensive explanation on how floating numbers work with examples in converting etc ... ?
Type: Posts; User: kernel
Hi all ,
this is not realy related but can someone know a good link with an extensive explanation on how floating numbers work with examples in converting etc ... ?
10x that helped , would it work properly on a borland compiler ?
Now i have another problem ...
it won't override the default values of <class t = double,class S=int>
which sort of makes the ...
Ok this is what i got so far I can't figure out what's wrong
i've searched everywhere
//MAIN
#include "Pair.h"
ok , understood :cool:
and thanks for the fast and accurate replies
godblles you
(and Tayshaun Prince)
thanks for the reply
one more question do i have to use
Pair<double, string>* arr
that kinda spoils the idea of templaete if i delcare <double,string>
the idea is that each pair will be decided...
Hello
i'm trying to solve an exersice i've been given , would appreciate help
i have to creat a class with two templates
and in the main make an array of that class but it keeps poping the...
That is quite elementary Jbro , but my problem with psushing back is knowing whcih class to associate the
dogarr[i] = new TYPE for the [i] = [i+1]
that's why I added the string type , nut is...
ok i've added a string type and a gettype{return type}
so i'll know what to copy
but is there a more elegant way of solving it without adding a variable ?
i mean can i know what type of dog is...
now i understand i tried it the other way around ...
class dog : public ....
anyways i've ran into a diffrent problem now ;),
i have in the main the dogarr**
now the max it can hold it 10 ,...
class Dog : public Boom,public Drug,public Rescue
{
protected:
string name;
public:
Dog(string nname);
virtual ~Dog();
void print();
hi
thanks for the quick reply
i didn't understand the diffrence
class dog () : public boom , public rescue , public drug
{
//
}
is what i have now , i want to be able to inherit one of...
hi ,
i've got a liitle bit of a beginer's problem
i have a class dog which i want it to inherit one of the three kinds of dogs either rescue or boom or drug
tried
class dog() public boom ,...