Sign in to follow this  

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

Recommended Posts

Buster2000    4310
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
DevFred    840

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".


Share this post

Link to post
Share on other sites

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