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"
[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;
}
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