Has anyone experienced this kind of thing?
I am trying to study c++ from a book. I have done exercises now I am reviewing. Redoing exercises, keeping original files in separate folders and making completely new files. Everything was working out easy until i got to a simple task of linking a header file to a source code file. Listen, don't jump to conclusions because it doesn't seem to make sense.
I already wrote one declaration from header file in the source file. used it, compiled it and it was successful. In the same header file I added another declaration and again added a call for that in the source code. Only now it doesn't compile. says" 'name' undeclared (first use this function)I have got this error before and led me to check header file, but I could not see anything wrong with it. So I moved the header file I created the first time I did the project, but renamed it. now I linked those 2, and they compiled successfully. ok, so now im thinking there definitely must be something wrong with the other header. So I copy and paste stuff with no luck
Lastly I did a saves to my Old header and over wrote the bad header. I try to compile and it still does not work and has the same error.
I have just skipped this knowing I don't know what is going on but any suggestions could help. I try to move on but I am obsessive.
by the way, i am using Quincy 2002 v 3.2.3 for all my programming.