1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------
1>Build started 3/24/2011 5:24:05 PM.
1>InitializeBuildStatus:
1> Touching "Debug\DirectXtutrials.unsuccessfulbuild".
1>ClCompile:
1> main.cpp
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:07.66
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So that's whats wrong with my code. The source code doesn't matter because i've tried multiple source codes and it still doesn't work. I'm trying to learn directX 10 and for some reason its not compiling. Does anyone know what i should do?