Hi everyone,
I'm new to programming.Having problems trying to insert a program into a windows 32 application or form (not console application).I'm using the 2010 visual C++ express platform.I'm simply unsure where to insert my written program. Is there any examples online I can follow?
For e.g ,where would a simple Hello world program be inserted in the existing form code.
// sdadsds.cpp : main project file.
#include "stdafx.h"
#include "Form1.h"
using namespace App1;
[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
// Enabling Windows XP visual effects before any controls are created
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
// Create the main window and run it
Application::Run(gcnew Form1());
return 0;
}
cheers.