[Cs3] recoding car factory with an STL algorithm

Mikhail Nesterenko mikhail at cs.kent.edu
Fri Oct 25 10:30:32 EDT 2019


CS3 students,

I re-coded the car factory example with accumulate().  Here is the code

http://vega.cs.kent.edu/~mikhail/classes/cs3/Examples/AbstractFactory/CarFactory/CarTest.cpp

It does not look significantly simpler. If anyone has better ideas,
please let me know. 

Thanks,
-- 
Mikhail


More information about the cs3 mailing list