the below class spits out around 20 errors, but if I comment out the vector bullets it seems to be all fine. Am I missing some obvious error?
#include <vector>
#include "SDL.h"
#include "Bullet.h"
#ifndef GAMEDATA_H
#define GAMEDATA_H
class GameData
{
public:
GameData();
~GameData();
GameData(const GameData& data);
GameData& operator=(const GameData* rhs);
vector<Bullet> bullets;
SDL_Surface* shipimage;
SDL_Surface* bulletimage;
};
#endif