A couple of days ago I did a test on If Statements vs. Switch Statements and said I’d be providing more benchmark tests later on. This test involves the printf and cout functions. Both produce the same exact results but will they be comparable in speed? Again, at the bottom of the page you can download the source code for this test.
Note: I am/will be using the Code::Blocks IDE to perform my benchmark tests which uses the MingW / GNU GCC compiler. Using a…

Home
Projects
Hosting
Advertising
About
Archive
Contact
Forums
Subscribe