[Cs3] updated moveIntArray

Mikhail Nesterenko mikhail at cs.kent.edu
Fri Feb 9 10:42:16 EST 2024


CS3 students,

As promised I updated the moveIntArray.cpp example that we studied
during the last lecture:

  http://antares.cs.kent.edu/~mikhail/classes/cs3/Examples/STLContainersSequential/Vectors/moveIntArray.cpp

I eliminated the std::copy algorithm that we have not yet studied and
removed the conditional operator-based array allocation: it is not
necessary.

Thanks,
-- 
Mikhail


More information about the cs3 mailing list