Hello everyone,


Here is my precompiled header settings,

--------------------
Create/Use PCH Through File stdafx.h
PreCompiled Header File .\Debug/client.pch
--------------------

1.

It means all the content before stdafx.h will be precompiled into client.pch? So that each time compiler "assumes" the content before stfafx.h will not be changed. Right?

2.

How will compiler solve this situation?

Code:
// in file foo.c
#include "foo.h"
#include "stdafx.h"

// in file goo.c
#include "goo.h"
#include "stdafx.h"
Compiler will pre-compile foo.h, goo.h and stdafx.h into one client.pch file? Or pre-compile foo.h + stdafx.h into one file, and pre-compile goo.h and stdafx.h into another file?


thanks in advance,
George