Create resource.cpp

picture and phA ,phB.