I need help with c++ on the codeblocks.

when i run the program with lines of code, i get this warning.

warning: command line option "-Wmain" is valid for C/ObjC but not for C++

can anyone tell me what this mean???

steps to prepare a visual basic representation to displayarea of triangle