Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

what does stdafx.h do in the program? The reason for this question is when I run

ID: 3614486 • Letter: W

Question

what does stdafx.h do in the program? The reason for this question is when I run this program invisual studio, is is saying that it cannont open include file:'stdafx.h': no such file or directory. I was wondering if you could help me out please. thanks what does stdafx.h do in the program? The reason for this question is when I run this program invisual studio, is is saying that it cannont open include file:'stdafx.h': no such file or directory. I was wondering if you could help me out please. thanks

Explanation / Answer

please rate - thanks stdafx.h is a precompiled header used by visual studio It has definitions the compiler needs to compile theprogram. as an alternate. download bloodshed C++ http://bloodshed.net/dev/devcpp.html it's very easy to use. just compile, then run doesn't need stdafx. but before yourreturn 0; add the statement system("pause"); this will keep the DOS window where the output is from closing if you google stdafx, you can find out how to compile using Visualstdio without that header, but you may be using things that needit.