The C++Course provides a general introduction to programming in C++. It is based on A.B. Downey's book, How to Think Like a Computer Scientist. Click here for details. |
Home Vectors Copying Vectors | ||
Copying Vectors
Although this syntax is legal, it is almost never used for pvectors because there is a better alternative: pvector<int> copy = count;The = operator works on pvectors in pretty much the way you would expect.
|
||
Home Vectors Copying Vectors |