I have this piece of code :
#pragma once
#include <SDL\SDL.h>
#include <iostream>
#include <vector>
#include "Timer.h"
class Time
{
public:
Time();
~Time();
static void Update();
static double GetDeltaTime();
static void AddTimer(Timer* timer);
private:
static std::vector<Timer*> timer_list;
static double deltaTime;
static double lastFrameElapsedTime;
static double elapsedTime;
};
As you can see on top, it says include "Timer.h", in Timer.h there's a Timer class.
On line 16, Visual Studio yells at me because : 'Timer': undeclared identifier
But it's included right there???