Hi, been lurking for a while and had an issue so i thought i might make my first post. I would gauge myself between a beginner and intermediate but this i feel is def a beginner issue.
I'm saving certain settings and profiles into custom files into a directory. This code is purely to get a list of those files. (easy enough). I've written it in a test app and it worked beautifully. So I copied the function across to my main app and now it will not compile. It's in its own file at the moment, only difference to the the test app is that it's not console and theres no int main().
Here's the entire source file, general.h defines a simple struct with a string + a pointer for a linked list (other source files in the same solution compile nicely with it) :
There was indeed a problem with general.h. Just on a whim instead of loading it from the filelist pane thingo i right clicked on the #include and opened it that way and it opened a completely different file in a different project. After removing it and readding it, everything runs nicely. Cheers.