I found this inside of the WPI libary
PHP Code:
[url="http://first.wpi.edu/FRC/roborio/release/docs/cpp/classfrc_1_1Timer.html#a5f16e8da27d2a5a5242dead46de05d97"]http://first.wpi.edu/FRC/roborio/release/docs/cpp/classfrc_1_1Timer.html#a5f16e8da27d2a5a5242dead46de05d97[/url]
I put the line
into the code.
Timer::Timer() means
PHP Code:
Create a new timer object.
Create a new timer object and reset the time to zero. The timer is initially not running and must be started.
When I built the code in eclipse, it came back with this error >
Code:
error: cannot declare member function 'frc::Timer::Timer' within 'Robot'
Timer::Timer();
^
I don't know why its doing this. If you know please tell.
Thx.