am very new to VC++ programming. I have designed an interface on VC++ using MFC. the visual part is now ready and i need to append my C++ codes to the interface and compile it as a program. I've been trying so far but nothing good came out :s

when i call my functions (in a button for e.g) i get lots of errors, though the function is present in my main.

can you please help by telling me how to in short or recommending some resources i could use to do that?