![]() |
Robot(): is private error being thrown
My code is throwing the error "Description Resource Path Location Type
'Robot::Robot()' is private Robot.cpp /ittest/src line 24 C/C++ Problem" and i have absolutely no idea where to start in fixing it. Here's my code. http://pastebin.com/N7kJ7454 |
Re: Robot(): is private error being thrown
First, make sure you understand visibility. Here's a stackoverflow question I found: http://stackoverflow.com/questions/8...ed-inheritance
You simply need to make the constructor public Code:
class Robot: public IterativeRobot |
Re: Robot(): is private error being thrown
Quote:
|
Re: Robot(): is private error being thrown
Quote:
|
| All times are GMT -5. The time now is 09:58. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi