QUOTE(gabehabe @ 4 Aug, 2008 - 04:12 PM)

When working in VC, you need to include a new header.
Try adding this:
#include "stdafx.h"Hope this helps

hey whats up, i tried adding that file, right below the directive code
still the same result here are the errors im getting.
------ Build started: Project: 1pro, Configuration: Debug Win32 ------
Compiling...
1pro.cpp
c:\documents and settings\administrator\desktop\programming\new folder\1pro\1pro\1pro.cpp(3) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\Programming\New Folder\1pro\1pro\Debug\BuildLog.htm"
1pro - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
not sure what im doing wrong