Gah! Include and Header Problems.

I'm having some trouble with some of my header files, rather than post my entire code here I threw it up on PasteBin.

Constants.h : http://pastebin.com/9nFrYC2D
Engine.h : http://pastebin.com/Bin7KNWQ
Timer.h : http://pastebin.com/6qyXVfwq

Here is my problem: I keep getting the error
 
>e:\visual studio 2008\projects\sdl engine\sdl engine v2.0\engine.h(35) : error C2079: 'CEngine::FPS' uses undefined class 'CTimer' 


I am trying to use an instance of my CTimer class inside the CEngine to regulate framerate, but not matter what I try my CEngine class just can't see the CTimer class so it throws an undefined class error.

I'm almost certain it has something to do with my poor Header/Include setup but I don't know where the problem is. What I had hoped to do was to have one large header file which contained any other needed include/namespaces. I thought that this would simplify my header setup, but it's causing too many problems. I am almost certain it has something to do with the Constants.h since my #pragma comments display multiple times even though according to my header guard they should not.
CTimer is an "include dependency" of CEngine.

Therefore engine.h should be including timer.h

Obligatory link: http://cplusplus.com/forum/articles/10627/ <-- Specifically, read sections 4 and 5 (and up if you want, but 4 and 5 are the juicy ones)
Topic archived. No new replies allowed.