Thread: Oop Vs Pp
View Single Post
Old 24-08-2006, 04:58 PM   #2
GrimFang4
Forum hobbit

 
Join Date: Jun 2006
Location: Strafford, United States
Posts: 31
Send a message via ICQ to GrimFang4
Default

Eagg, I left my code in the other thread. It doesn't matter much what you're doing with OOP or PP, it's that you're working more with functions and pointers in OOP. Functions and pointers will take longer. Only when you use the optimization option of your compiler will the two methods look anything alike in machine code.

To comment on your code without reading much: You shouldn't have the printing statements within your timing range.
__________________
GrimFang4 is offline                         Send a private message to GrimFang4
Reply With Quote