Hi all,
The following code is generated automatically in Microsoft c++:
// InventoryAssignment(BETA).cpp : main project file.
#include "StdAfx.h"
#include "Form1.h"
using namespace InventoryAssignmentBETA;
[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;
}
but i faced the following errors:
Error 1 error C2143: syntax error : missing ';' before 'using'
Error 2 fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\mohamed\my documents\visual studio 2008\projects\inventoryassignment(beta)\Form1.h(5)' was matched c:\Documents and Settings\Mohamed\My Documents\Visual Studio 2008\Projects\InventoryAssignment(BETA)\InventoryAssignment(BETA).cpp 19 InventoryAssignment(BETA)