What I meant was code that calls the function. I see
if (argCar->getPlateNumber() == parking_spots[i]->getPlateNumber())
Are you sure argCar and parking_spots[i] are both valid pointers?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 11 of 11
Threaded View
|
Click Here to Expand Forum to Full Width |