Why wont this compile. I declare the constructor, then the destructor. Then try to call an instance of the class and i get a linker error. If i do not add the 2 functions it will compile.Code:#include <iostream>
#include <stdlib.h>
#include <fstream.h>
class aclass
{
public:
aclass();
~aclass();
};
int main(int argc, char *argv[])
{
aclass theclass;
system("PAUSE");
return 0;
}