visual studio file include itself error

WBahn

Joined Mar 31, 2012
32,703
Because of exactly what the error is telling you. You have a file that is including itself.

What do you expect to happen when it includes FOO.h the first time? It's going to include FOO.h a second time. Then a third time. And so on.
 
Top