Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
c++ wrapper
#4
like, in c++ you can have an object with a bunch of methods, lets say your object is called myTimer and it has methos set, print, restore. then in c++ you could do like

Code:
myTimer::set()
myTimer::print()


but in procedural you need only function calls, so a wrapper would be like this (in fb pseudo code)

Code:
sub myTimer_Set()

  myTimer::set()

end sub


of course, it wouldnt be sub...end sub in c++, i just did that so it'd be easier to understand.



Reply


Messages In This Thread
c++ wrapper - by phycowelder - 06-21-2006, 06:11 AM
Re: c++ wrapper - by TheAdventMaster - 06-21-2006, 06:36 AM
c++ wrapper - by VonGodric - 06-21-2006, 01:33 PM
c++ wrapper - by Anonymous - 06-21-2006, 08:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)