new file:   1dca.cpp