Hi everyone, this is my first post here, so please forgive any mistakes made on my part. I am having trouble implementing a static member function for a class called Car. Here is the code in my Car.h file:
Everything seems to compile properly, but when I run a simple driver program the carCount variable doesn't seem to increment and the GetNumberOfCars() function returns garbage.