User profile: kasmador
User info |
User name: | kasmador |
History |
Joined: | |
Number of posts: | 6 |
Latest posts: |
>> operator overloading error ambiguous Found the mistake. Some stupid typo...
Thanks,
Cheers
>> operator overloading error ambiguous Ok, thanks. Although I still get this error :
Ambiguous overload for 'operator>>' in 'fin>>a'
...
>> operator overloading error ambiguous Hello,
This is my operator overloading :
[code]istream& operator>>(istream & in, vector<int> & fin...
access an element of a vector that is inside a vector I have :
vector < vector<int> > temp
temp[0] = {1,2,3}
temp[1]= {4,5,6}
and
vector < vector<...
access an element of a vector that is inside a vector So, that is the correct way of accessing that integer ?
[code]
for (int i=0; i<temp.size(); i++...
|
This user does not accept Private Messages