Possible Duplicate:
What is an undefined reference/unresolved external symbol error and how do I fix it?
I'm relatively new to C++ (as you can probably tell by the question) and I've hit a problem. I have two files: Drives.h and Drives.cpp
Drives.h
#pragma once
enum MountMode
{
    User,
    System,
    Both,
    Auto
};
class Drive
{
public:
    Drive(void);
    ~Drive(void);
    BOOL Mount(MountMode mode);
    VOID Unmount(void);
    BOOL IsConnected(void);
    static char* DeviceName;
    static char* DrivePath;
};
class Drives
{
public:
    Drives(void);
    ~Drives(void);
};
and my Drives.cpp:
#include "stdafx.h"
#include "Drives.h"
Drives::Drives(void)
{
    Drive USB0; //Error happening here
}
Drives::~Drives(void)
{
}
The error is saying that the Drives class constructor, destructor and IsConnected() are all unresolved externals. I'm not sure what I'm missing since I set this class up like the one on cplusplus.com
Thanks in advance
 
     
     
     
     
    