View Single Post
  #2   Spotlight this post!  
Unread 12-18-2016, 09:04 PM
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 298
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
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
    // ...
}
__________________
Creator of SmartDashboard.js, an extensible nodejs/webkit replacement for SmartDashboard


https://ligerbots.org
Reply With Quote