Sign in to follow this  

Does I need to know any C when writing games or programs in C++?

This topic is 2815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

No you don't need to know C when programming C++. If you are doing your own projects or just learning the language then its fine to learn C++ without going over the C library functions.

However nearly every C++ programming test that I've done for a job interview has had a whole bunch of questions regarding C functions. In fact I've seen interview papers that have said at the top of the page "C++ Test" and then contained nothing but questions regardin C string handling functions and various questions regarding char*.

Share this post


Link to post
Share on other sites
Quote:

Knowing C is a prerequisite for learning C++, right?

Wrong. The common subset of C and C++ is easier to learn than C. There will be less type errors to catch manually (the C++ type system is stricter and more expressive), fewer tricks to learn (C++ allows you to express more things without circumlocution), and better libraries available. The best initial subset of C++ to learn is not "all of C".

source

Share this post


Link to post
Share on other sites

This topic is 2815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this