![]() |
HELP PLEASE!!
hi, i am a new programmer on my team, Can anyone please tell me how to program a spike in c++ :confused:
Quote:
|
Re: HELP!!
Define the spike as:
Code:
Relay *[variable here]Code:
[variable name used above] = new Relay([Relay port it's plugged into on the DSC])Code:
[variable name]->Set(Relay::kForward) |
Re: HELP!!
That is one way to do it. However, instead of declaring the Relay as a pointer (*) you can do it this way:
Code:
class Team1771Robot : public SimpleRobot { |
| All times are GMT -5. The time now is 03:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi