Joe... The wizard builds a hello world program for you if select new
Project --> Visual C++ Project --> Console Application. The string
appears and the console closes. To stop the console add a call to
Console::ReadLine().
#include "stdafx.h"
#using <mscorlib.dll>
using namespace System;
int _tmain()
{
// TODO: Please replace the sample code below with your own.
Console::WriteLine(S"Hello World");
Console::ReadLine(); //<-- add this
return 0;
}
http://msdn.microsoft.com/library/de...rl=/library/en
us/cptutorials/html/hello_world_in_managed_extensions_for_c__.asp
Regards,
Jeff
I wish to do the simplest thing in Visual Studio.net. I wish to compile
a "hello world" C++ program. I just installed .net and have experience
as a programmer but the framework is so large and abstract I am having
trouble getting started. Can anyone help? Thank you. Joe
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!