(specifically problems with geany)
For my programming assignment, I have to implement classes as .h files and the definitions of the functions in their respective interfaces as .cpp files. The problem is that, the text editor I use, geany, decides to read my .h files as C code, and classes don't exist in C, so I get error messages at literally everything (the worst one is that string is not a data type, funnnnn). I can't test my code because of this, so I literally cannot do anything but blindly code and hope that it will all work out (I have literally spend two days straight trying to bypass this issue).
My TA's instructions to solve this issue was (it was a common issue):
Long term solution did absolutely nothing for me, and the short term solution is undone the moment I restart geany. I cannot do anything, and I feel that I am unable to properly do this assignment simply because geany is a massive douche. To make matters worse, my building is on lockdown for hours (and still going), so I'm pretty frustrated right now (had to walk to a computer lab in pouring rain). How do I solve this problem?
General rundown of how my stuff looks:
iostream in all .h files
string in all .h files
.h files for classes that have other classes
corresponding .h files for each .cpp file (e.x user.cpp has #include "user.h"
inclusion guards in all of my .h files)
If requested, I can post what I have so far.
Bookmarks