why is it that I got this error, when I compile the code by using the -Dproject flag?:
am I doing anything wrong? the code is attached below...Code:/vehicle.h:21: error: âprojectâ has not been declared /vehicle.h:21: error: expected `{' before âvectorâ /vehicle.h:21: error: expected initializer before â<â token /vehicle.h:33: error: âprojectâ has not been declared /vehicle.h:33: error: expected `{' before âvectorâ
The weird thing is that if I take out the #include <vector> in the vehicle.h file and then compile the file using -Dproject it works, however if I include it with athe #include <vector> it doesn't work... I just don't know why



LinkBack URL
About LinkBacks


