All the voids (functions) are defined in the same file I am debugging to get that message. I have a header file for classes and all the functions in this one... (part of uni work)
To me it looks like you are trying to use functions from a library that you haven't linked to properly. Whatever library you are using that has clearAll, setForeground, setBackground member functions isn't linked or connected properly to your project so it is spitting out errors about their calls in your functions. Of course I'm going off the compiler I use as it only shows that sort of thing if I am trying to use a library, if it is a function call to something else it normally just says it is undefined.
Nothing to do with pointers. Did you find the implementation of those functions in your source file? That's really the question I've been asking but you're not answering it.
are defined in it.
Check that it's being compiled into an object file (if this means nothing to you, add "find out what a compiler does" to your list of things to do and check that it's being included in your "project" or whatever your chosen dev env uses).
Check that your linker is being told to link against the compiled object file.
Which step of the ones I gave in my post is failing? Are they being compiled? Is the linker linking to them?
A simple way to check they're being compiled is to stick XXXHFUDSHFKJSEBFIJDSGUIGHEUIR in the middle of them and then rebuild. If they refuse to compile because of XXXHFUDSHFKJSEBFIJDSGUIGHEUIR in the middle, then you know they are being compiled.
I am using VS Pro 2010.
I do wish academic institutions wouldn't do things like that. They've left you unable to solve this remarkably simple problem yourself because you don't know what to do when the magic buttons don't work :(
The function ColourController::setForeground. Not in the prototype declaration. In the code that actually does whatever that function does.
The intention is to test if the compiler is being fed that source code, by deliberately breaking it, so it has to go in the function definition (not the declaration). Typically, this is done in a cpp file.
This is most likely a problem wtih your property sheets, check your additional include directories, the input part of the linker section... etc. Your linker can't find your objects
Is all of this because of my pointers and maybe I am missing some & or * symbols somewhere? I am new to this, only a first year student haha...
Where should I be looking, the file I have created or the functions from ColourController and CursorController as that file is one my lecturer provided you see.
I would go and ask but it is due today you see and fancied working it out myself... Hm