Create vulnerableApp.cpp

Compile it with g++ 

root@linux# g++ vulnerableApp.cpp -o vulnerableApp