Jump to content
Urch Forums

Data structures and algorithm in C or in C++ ?


Jeffrey

Recommended Posts

Hi, I'm preparing the data structures and algorithm. There are some books writen in C and some others in C++. Which one is better for the CS subject? C or C++?

 

Those sample questions about algorithm are writen in C, right? Does it mean that the Object Oriented Programming part is not important?

 

Thanks in advance:)

Edited by Jeffrey
Link to comment
Share on other sites

From what I've gathered, microkernel is right. The idea behind the test is to evaluate understanding of concepts, so those are of primary importance.

 

That said, there are many concepts that only appear in Object Oriented languages... and from what I've gathered, some code samples from recent tests do test understanding of Object Oriented concepts.

You have little to lose by using books that approach the subject using C++, so why not go with it. Chances are, if you don't know the language well already, it will also help quite a bit. If you do, then there's nothing to lose and possibly something to gain.

Link to comment
Share on other sites

It doesnt matter the programming language that use to study concepts of data structures and algo but i would recommend u use java bcoz iit and even all colleges in BE use it...so u wouldnt have to put some extra efforts....java is more systematic than c and c++ as it contains built-in libraries and also most oops features...!!

I recommend refer Data Structures and Algorithm in JAva by michael goodrich and Introduction to Algorithms by Thomas H. Cormen for the pupose as these are the book whiv=ch even IITians refer...!! rest is on ur choice

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...