Two things. First I need to resolve the linker errors I'm getting and I also need to learn how to create a text file in a C++ project file.
I'm working on a stacks project with classes and I'm running into linker errors. Specifically it says: [Linker error] undefined reference to `Stack::Stack()'. I have a similar error for all the functions in my implementation file. I've tried several solutions and they've all failed. Please help. Thanks.
The other problem. Since I was having the above problem, I decided to create a C++ project file. Usually, when I start working on an assignment, I create one source file and then make sure all subsequent files go into the same folder on my hard drive so I can compile them all at the same place. My text file is also there.
But now that I have created a project file with all my files in there. But I can't seem to figure out how to include a text file in a project file. I created a text file using notepad and saved it in the folder containing the project file but I see no output file.
I have my input and output file as:
Please help. Thanks.