For some strange unknown reason i get an error in my codeblocks when trying to run this. it's in my coins.cpp it give me a fatal error coins.h no such file or directory. Now in my main.cpp i have to type my coins.h the way i did to get rid of the error for that, however even if i type the code like that in coins.cpp i still get the fatal error, what am i doing wrong?
Have you created a console project, sounds like you may have created a incorrect project type, or you have a brace somewhere you shouldnt, or main is missing lol.. could be a lot of things.