|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
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
{
private:
// some stuff
public:
Robot() // etc
// ...
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|