Hello. I am learning C++ and I am following a series of educational videos + some books. All these
books declare the main function as
However, when I downloaded and installed VC++ Express 2008 the default main declaration is
int _tmain(int argc, _TCHAR* argv)
The programs run fine as well, but I really don't understand what's the difference, and it really bugs me the fact that I am using something I don't really understand. Adding to the confusion there's the fact that the videos I am
using use Microsoft Visual C++ as well (although I can tell it is not the 2008 version, probably an older one.)
So, basically what I would really know is:
1. The difference between the two declarations
2. Which one of the two should I consider "standard"
3. If there's really no standard to speak of, but it is something strictly linked to my actual development environment, which in this case is VC++ 2008 Express.
Thank you. :)
(By the way, just in case it wasn't already clear, I'm a beginner as a beginner could be.)