It would appear that module my570list.cpp does not contain a
main()
function as required for creating an executable from CPP source code. If you are merely trying to compile into object form then add the
-c
option to your compile command thus:
g++ -c my570list.cpp