The Daily Click ::. Forums ::. Non-Klik Coding Help ::. Bridge and Torch problem in C++ -- Want a job in programming? )
 

Post Reply  Post Oekaki 
 

Posted By Message

Long John Kickbag



Registered
  26/08/2002
Points
  148
5th June, 2004 at 07:25:51 -

From what I understand, functors are functions created as classes (in C++ at least and are created by operator overloading) so that you can point to them and their data. So you can create call-back events and stuff.

 
Resize! - www.clicksplat.com/comparison.html

Josh Whelchel

Musician

Registered
  01/06/2002
Points
  73

I am an April Fool
5th June, 2004 at 13:32:28 -

printf is MUCH more effecient then all that itoa garble your using. Just thought you'd like to know that (;

 
Last time I was on this site it said I was "16."

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
5th June, 2004 at 14:13:25 -

It's also ANSI C compliant, unlike all that itoa garble you're using

 
n/a

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
5th June, 2004 at 19:40:15 -

std::cout can actually print ints without conversion to char*s first. The reason I'm converting them is I originally had my functions doing other things that required them as char*s, but I changed it so that it didnt do that anymore and forgot to change that part of my code back

Erik C is correct

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert
   

Post Reply



 



Advertisement

Worth A Click