Im new in programing and while I was making the .cpp file to this header:
here is the .cpp file:
i got this error:
What can I do??
Im new in programing and while I was making the .cpp file to this header:
here is the .cpp file:
i got this error:
What can I do??
You forgot to write your global main function.
By the way, in the future, instead of posting a screenshot of your code, post your code in [code][/code] bbcode tags.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
You created a project of type "Windows Application" - it looks for WinMain function as a start point
You need to create "Windows Console Application" project - it will have a main function as a start point
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler