   Using MS Visual Studio for learning.
  I'm asking this on behalf of someone else who is just starting out learning C++.They are trying to work through basic C++ programming exercises in MSVS C++ 2005 Learning edition, but I can't seem to create just a straight C++ console app. Instead I get "void _tmain()" and rubbish like that. How can I create just a straight C++ file, and compile/run it?   
  It sounds like he might be using main wrongare you doing something like this?void main()orint main()?[edit]Should be//  Doesn't care about commands passed to itint main(void){return 0;}or //  Takes commandline parametersint main(int Argc, char** Argv){return 0;}[/edit]   ;  When creating a new console application with MSVC 2005 try specifying an empty project. Also make sure that the Platform SDK is installed properly or you might get some weirdness.   ;  The only weirdness is that when I say create a console app it creates a template main file with a function called "_tmain()" instead of an empty file that my friend can fill in himself. Oh well I haven't really looked in to it that much seeing as I never want to make console apps.   