Thursday, July 30, 2009

Should i learn c++progrming without learning 'c' programing ? i am bignner?

'c' language is harder for me . is this possible to learn c++ without learning 'c' programing . i am biggner . i lot of interesed in c++. i think it is easy than 'c' . and i like to learn c++

Should i learn c++progrming without learning 'c' programing ? i am bignner?
Technically, C would be easier to learn IF you don't bother with the hideous Object Oriented Programming of C++, which produces bloated, slow code.


Of course, you don't have to program with OOP, and C++ has some extra features which you can take advantage of.





C++ was derived from C. In many cases, you couldn't tell the difference between non-OOP code written in C or C++.





Most books are about C++ anyway, so I suggest you buy a book and start having fun!





P.S.


Buy a programming book on the operating system that you'll be using too.
Reply:You can lear C++ without learning C. I assure you that.





C++ is more easy in some steps than C. I could say that It is more human language and encapsulates pointers so that easier to use.





Try this http://www.cprogramming.com/tutorial.htm... to see the difference between those both.





When you're programming in C++, do not use any of C's version of command, use C++'s command. It makes your program faster and more consistent.
Reply:C++ *is* C, with extra operators and goodies added to support "object oriented" programming. That's just a way to attach functions to structures (classes) and borrow properties and functions from other structures (inheritance). It does make writing code easier because you can take advantage of some handy pre-written libraries, which shield you from the step-by-step stuff you have to do to get anything accomplished in C, but underneath all that fancy wrapping it's still C.





Learn it all the way because at some point you're going to have to be able to read someone else's code.
Reply:yes. learning C is not a requirement. They are basically the same but C++ has a few more extra features. You should be okay.
Reply:If you learn C first, you'll learn some bad habits that you'll have to unlearn to properly use an OO language. If you don't need the C, I recommend skipping it.
Reply:It's perfectely fine if you start with C++.





Don't think that C++ is easy.


C++ is easy to start with.


C++ is totaly based on C langauge.





C++ is based on a programming approach know as "object oriented programming". When it was made, it was named as "C with objects".





You can go for these books.


%26gt; Deital %26amp; Deital (Sorry for the spelling but you will find them)


%26gt; Robert Lafore
Reply:of course. you don't need to know C in order to learn C++


they are pretty much the same but with differences.


just grab a c++ book ,start from beginning , you'll be fine.
Reply:actually, c++ is a superset of c. if you can master c++, c should be a piece of cake. However, the major difference between c++ and c is the programming concept - object-oriented vs. procedure-oriented. It is difficult to master the two different concepts in a short time. But I personally think OO is harder to master.


No comments:

Post a Comment