View Single Post
  #7   Spotlight this post!  
Unread 30-12-2009, 11:46
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: replace WPILib part

Quote:
Originally Posted by slavik262 View Post
I'm just glancing at this quick, but IIRC, inline functions need the function body along with the declaration. You can't give a function prototype in a header, mark it as inline, and then go put the actual definition of the function somewhere else. I could be wrong though.
You are somewhat correct:
http://www.parashift.com/c++-faq-lit...s.html#faq-9.7
http://www.parashift.com/c++-faq-lit...s.html#faq-9.8
http://www.parashift.com/c++-faq-lit...s.html#faq-9.9
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote