View Single Post
Old 08-06-2003, 06:47 AM  
Aheib
Registered User
 
Join Date: Apr 2002
Posts: 50
I wrote it in C++ because it simply isn't slower than C.
It's a very common mistake to think that.
C is a subset of C++, so even when I say I've
written in C++, I could have used strictly C code.
But I didn't.

Using C++, I was able to use things like STL, which
give more flexible and faster code than C programs.

anyway, I don't want to get into a whole discussion about C vs C++, but whoever says C is faster simply doesn't know how to write optimized code in C++.

So to sum it up;
- at least equal speed - code is easier to read (imo) - stronger dynamic memory management libraries - better type checking - plus, I am much better in C++ than in C
__________________
Get the Best Free Trade Script :: Arrow Trader :: Written in c++!
Aheib is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote