Everytime I try to compile this:
Code:
class RecipeList
{
public:
RecipeList(char[],char[],char[]);
~RecipeList();
void AddRecipe(char[],char[],char[]);
void DeleteRecipe(RecipeStruct *);
void SaveRecipe(RecipeStruct *);
void SaveToDisk();
RecipeStruct* GetPrevHandle(RecipeStruct*);
RecipeStruct* SearchIndex(const int);
private:
RecipeStruct *Head, *Tail, *Current;
};
I get this:
Code:
--------------------Configuration: Recipe Manager - Win32 Debug--------------------
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall RecipeList::RecipeList(char *,char *,char *)" (??0RecipeList@@QAE@PAD00@Z)
Debug/Recipe Manager.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Recipe Manager.exe - 2 error(s), 0 warning(s)
The problem occurs with the constructor.