pulpfiction Posted December 14, 2006 Share Posted December 14, 2006 Hi,I have to construct a new compiler.. Now the dilemma is that should I use C or C++ for this purpose. any pros and cons, suggestions will help me.... Thanks Link to comment Share on other sites More sharing options...
aspnetguy Posted December 14, 2006 Share Posted December 14, 2006 http://unthought.net/c++/c_vs_c++.html Link to comment Share on other sites More sharing options...
justsomeguy Posted December 14, 2006 Share Posted December 14, 2006 If you're just starting out, you will probably want to use C++. It has much better support for strings then C does (in C, strings are arrays of characters with a null byte at the end), and several of the libraries provide better support for things other then just strings. C is a great language to play around with, you can do some really low-level things (make make Doom or Doom 2 or Quake), but it takes some pretty decent studying to be able to debug your programs when you're getting core dumps from pointers or something like that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now