Create basicsample.cpp