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;

int main(array<System::String ^> ^args)
	// Enabling Windows XP visual effects before any controls are created

	// 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)

What did you change? Please don't expect us to believe that Microsoft's compiler fails to compile Microsoft's default generated code.

I'm astonished like you...i'll send you the code to check it