I am trying to compile a my code for a GUI project and for some reason it's giving me fatal error c1075. I'll post the code and output message. Let me know what it wants me to do. There is only one set of braces so I don't know what else it could be.

// iLab6B.cpp : main project file.

#include "stdafx.h"
#include "Form1.h"

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;

1>.\iLab6B.cpp(18) : fatal error C1075: end of file found before the left brace '{' at '\documents\visual studio 2008\projects\ilab6b\ilab6b\Form1.h(23)' was matched

It's telling you exactly what the problem is. Look in Form1.h for a missing right brace instead of this file.

Think of it this way, when you #include a header file like that, the text is basically pasted in at that point. The compiler found the opening brace in Form1.h, but it has reached all the way to the bottom of iLab6B.cpp and hasn't found the matching closing one.