I am attempting to use a different template and write in C++/CLI. The debug file isn't being created for some reason. If I misspell a keyword or enter errors I don't see any red squiggly lines. When I attempt to compile I can't because of an error.
C1083: Cannot open precompiled header file: 'Debug\(filename).pch': No such file or directory
I'm using Visual Studio Pro 2010
#include "stdafx.h"
using namespace System;
enum class Months {January=1, February, March, April, May, June, July, August, Semptember, October, November, December};
int main(array<System::String ^> ^args)
{
Months::month = Months::January;
int value = safe_cast<int>(month);
for(int x=1; x<13; x++){
Console::WriteLine(L"The numerical value of {0} is {1}", month, value);
month++;
}
return 0;
}