20 Mar
2015
20 Mar
'15
4:54 p.m.
On 2015-03-20 14:12, Islam Taha wrote:
Thank you very much I have now removed all warnings and it removed the segmentation fault as well. It would be appreciated to give me another feedback on the updated code. thanks in advance
Your copy still seems broken. Vector<int> a; a.push_back(1); Vector<int> b(a); b[0] = 2; std::cout << a[0] << std::endl; // prints 2 for me (Yes, it's a big deal... Can you check?) Giacomo