FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Visual Studio 2010 C++ express template





SlashnburnSoftwareStudio
Is there a way (i think there is) to have VS2010 C++ load up the below in my .cpp console application on start up after saving solution name.

//

#include "stdafx.h"
#include <iostream>

using namespace std;

int main()
{

return 0;
}
mrkk
You're asking for when you create a new project in Visual Studio, the following code is the default file for a .cpp (C++) file?:

Code:
//

#include "stdafx.h"
#include <iostream>

using namespace std;

int main() {

return 0;

}


Just create a text file with those contents and copy and add it as a file into your project. That, or memorize the default structure of a C++ file. It's not that much, just an inclusion, and your main function implementation.
Related topics
C#,Visual Basic.NET,Visual Studio.NET Videos
Webpage Design Programs
Microsoft Visual Studio 2005
Visual Studio 2005 and SQL Server 2005 Express, Free?
for free from microsoft visual studio 2005!!!!
How to stop "Script Debugger" Error Message in IE
Visual Studio 2005 problem
Windows XP SP3 comming soon
QT4 and Visual Studio Integration
Visual Studio 2008
any one familier to vb studio?
Favorite Visual Studio Tool
Visual Studio with Visual Assist X Alternatives (C++)
Visual Studio 2010
SharpDevelop: Open Source Visual Studio .NET
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.