#1
15th January 2011, 09:51 PM
|
|||
|
|||
How to study C++? What is the difference between C and C++?
Can you explain me how to study C++ and difference between C and C++..can you please explain the difference
|
#2
17th May 2011, 05:11 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
There is not a major difference between c and c++. The C is basic language for programming. you don't work on any language if you are not best and good in C programming. C is used in your c++,data structure, java and more.All language depends on C programming.
You can study C++ from "C++ without fear" a good and easy language book. Thanks |
#3
18th May 2011, 12:27 AM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
JUST FOLLOW ONE C++ BOOK AND READ IT AGAIN AND AGAIN.THEN YOU HAVE GOT SOME IDEA OF C++
DIFFERENCE BETWEEN C AND C++:- 1)both C and C++ are programming languages. C++ is termed as superset of C. C is a powerful and elegent language.almost all c PROGRAMS ARE ALSO c++ PROGRAMS. in C, it facilitates--" topdown structured design" as against C++ provides bottom-up object-oriented design. the C language is built from functions (like printf)that execute different tasks. 2)In C we cannot create a class. The C++ contains the set of class. 3)In C++ it having operator overloading and in C it doesn't have. 4)The C++ is the advance version of C. 5)C is structured programming language.C++ is object oriented programming language. |
#4
18th May 2011, 09:55 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Quote:
To study tyhe c and c++ start with basic prefer the author YAshwant kanetkar Balaguswamy these are two famous author to take one by one subject and take example with running code ...easily to understand the languages.. you ask the difference between c and c++ .. dear friend languages different is not so easy to write here .. see the book if any query feel free ask with the help of this forum.... thanks, Anku r |
#5
19th May 2011, 12:52 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Hii,
You ask the quetion about the computer programing languages . C and C++ both are the basic computer programing languages .. To learn more clear concept about C and C++ preper : --C does not have any classes or objects. It is procedure and function driven. There is no concept of access through objects and structures are the only place where there is a access through a compacted variable. c++ is object oriented. --C structures have a different behaviour compared to c++ structures. Structures in c do not accept functions as their parts. --C input/output is based on library and the processes are carried out by including functions. C++ i/o is made through console commands cin and cout. --C functions do not support overloading. Operator overloading is a process in which the same function has two or more different behaviours based on the data input by the user. --C does not support new or delete commands. The memory operations to free or allocate memory in c are carried out by malloc() and free(). --Undeclared functions in c++ are not allowed. The function has to have a prototype defined before the main() before use in c++ although in c the functions can be declared at the point of use. --After declaring structures and enumerators in c we cannot declare the variable for the structure right after the end of the structure as in c++. --For an int main() in c++ we may not write a return statement but the return is mandatory in c if we are using int main(). --In C++ identifiers are not allowed to contain two or more consecutive underscores in any position. C identifiers cannot start with two or more consecutive underscores, but may contain them in other positions. --C has a top down approach whereas c++ has a bottom up approach. --In c a character constant is automatically elevated to an integer whereas in c++ this is not the case. --In c declaring the global variable several times is allowed but this is not allowed in c++. Yanswant kanetkar as a auther ..alot of books is present of this perlicular writer and sound clear concept is the book.. Good luck. Thanks, Anku r |
#6
19th May 2011, 12:56 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Quote:
Hii, The basic difference between C ,C++ is that --C does not have any classes or objects. It is procedure and function driven. There is no concept of access through objects and structures are the only place where there is a access through a compacted variable. c++ is object oriented. --C structures have a different behaviour compared to c++ structures. Structures in c do not accept functions as their parts. --C input/output is based on library and the processes are carried out by including functions. C++ i/o is made through console commands cin and cout. --C functions do not support overloading. Operator overloading is a process in which the same function has two or more different behaviours based on the data input by the user. --C does not support new or delete commands. The memory operations to free or allocate memory in c are carried out by malloc() and free(). --Undeclared functions in c++ are not allowed. The function has to have a prototype defined before the main() before use in c++ although in c the functions can be declared at the point of use. --After declaring structures and enumerators in c we cannot declare the variable for the structure right after the end of the structure as in c++. --For an int main() in c++ we may not write a return statement but the return is mandatory in c if we are using int main(). --In C++ identifiers are not allowed to contain two or more consecutive underscores in any position. C identifiers cannot start with two or more consecutive underscores, but may contain them in other positions. --C has a top down approach whereas c++ has a bottom up approach. --In c a character constant is automatically elevated to an integer whereas in c++ this is not the case. --In c declaring the global variable several times is allowed but this is not allowed in c++. to more study prefer YASHWANT KANETKAR auther .. thanks, anku r |
#7
31st July 2011, 11:02 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Dear friend,
C language is the basic language of all language. But the C++ is the advance one language of C language.There are lots of differnce in coding wise but they are same in concept respect. In C language you use printf and all their you use cin and cout. The compiler of both are also different.But C language is the basic language if one understood C language he can easily understand else language. |
#10
15th August 2011, 10:06 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
C is a structure oriented program
C++ is a object oriented program. * C has top down process and c++ has a bottom up process * C doesn't support overloading but c++ supports. * C++ support classes but c does not support it. Thank you |
#11
16th August 2011, 12:46 AM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
C is a basic language and the knowledge of this language is very necessary for a programmer because all other languages are depend on it.
C++ is not very much different from it. and other language like Data structure and java are also depend on it. For study these language you can join any coaching. |
#12
29th August 2011, 02:18 AM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Quote:
C++ language is the advanced version of c language.So if you have an idea about c language then you can learn c++ language.You can study about c++ language from an institute.You can also take refrence by the book balaguruswami or vikas thada.These are the best books for c++. C++ language is a object oriented language. The main diffrence between both the languages are C language is a structured language and the other one c++ is a object oriented language. I hope you get your answer. All the best |
#13
29th August 2011, 04:10 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
STUDY OF C++ AND DIFFERENCE BETWEEN C AND C++
---------------------------------------------------------------- Dear friend, The best way to study C++ is self study.There are lots of books regarding to C++, like Balaguruswami,Kanitkar etc.You just buy any of the book for C++ and start studying it. While you study keep practicing the programs on your computer(You must need a computer for it). If you want you can also take admission to any coaching canters like NIIT,Globsin,Microrpo etc. Now the difference, >>C is a (POP)Procedure Oriented Language while C++ is Object Oriented Language. >>C has pointer while in C++ there is no pointer. You need to remember one more thing that is C++ is the advance version of C. Wish you all the best |
#14
30th August 2011, 09:42 AM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
DIFFERENCE BETWEEN C AND C++:-
In C we cannot create a class.The C++ contains the set of class. C++ it having operator overloading and in C it doesn't have.C is structured programming language.C++ is object oriented programming language. You just buy any of the book for C++ and start studying it. |
#15
3rd September 2011, 11:55 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
hi friend,
c is the basic computer language which should be studied before learning any computer language c++ is the extension of the c language and c and c++ are similar and not same and there will be concepts like interferes in c++ which are not in c language. all the best |
#16
4th September 2011, 11:24 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
There is no any big difference between c and c++. c++ is an object oriented language, while c is not. because in the c++ language all the calling purpose is done by an object.
c does not consist any class bur c++ consist classes. class is a group of variables and the function. All these function are called by the object in the main function. c is based on up to bottom approach and this c++ language is based on the bottom to up approach. because in c language the main function is declared at up in the code and in the c++ language this main function is declared at in the bottom class. i hope you got my answer. |
#19
23rd June 2012, 05:37 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
hello friend..!!
it depends upon your interest and your hard that how much you take it serious and how much you take it tough or easy. basically,c programming is just the basic of c++. to learn the c++,you should first go through with c programming. there are few topics that covers in c programming. the syllabus generally contains:- 1.Introduction to the language, 2.Variables and tokens, 3.Iteration and other control structures such as decision 4.Functions and structure 5.pointers. this is very easy to learn but it only and only depends upon your hard work. |
#20
23rd June 2012, 07:53 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
hi friend,
(a)there is lot of difference between c and c++ language (b)c is the basic computer language which should be studied before learning any computer language.you can learn c++ only only after learning c programming, (c)c++ is the extension of the c language and it is object oriented language. c and c++ are similar but not same . (d)there will be concepts like interferes in c++ which are not in c language. (e)there are objects and classes in c++ which is not in c. all the best..!! |
#21
24th June 2012, 03:00 AM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
hi....!!
->JUST FOLLOW ONE C++ BOOK AND READ IT AGAIN AND AGAIN.THEN YOU HAVE GOT SOME IDEA OF C++.. ->logic behind the programming is same in both c c++,but some small changes are there that you can easily catch by studying any book. DIFFERENCE BETWEEN C AND C++:- 1) both C and C++ are programming languages. C++ is termed as superset of C. C is a powerful and elegent language.almost all c PROGRAMS ARE ALSO c++ PROGRAMS. ->In C, it facilitates--" topdown structured design" as against C++ provides bottom-up object-oriented design. the C language is built from functions (like printf)that execute different tasks. 2)In C we cannot create a class. The C++ contains the set of class. 3)In C++ it having operator overloading and in C it doesn't have. 4)The C++ is the advance version of C. 5)C is structured programming language.C++ is object oriented programming language. ALL THE BEST....GURINDER!!! |
#23
15th September 2012, 11:04 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Hi dear,
JUST FOLLOW ONE C++ BOOK AND READ IT AGAIN AND AGAIN.THEN YOU HAVE GOT SOME IDEA OF C++ DIFFERENCE BETWEEN C AND C++:- 1)both C and C++ are programming languages. C++ is termed as superset of C. C is a powerful and elegent language.almost all c PROGRAMS ARE ALSO c++ PROGRAMS. in C, it facilitates--" topdown structured design" as against C++ provides bottom-up object-oriented design. the C language is built from functions (like printf)that execute different tasks. 2)In C we cannot create a class. The C++ contains the set of class. 3)In C++ it having operator overloading and in C it doesn't have. 4)The C++ is the advance version of C. 5)C is structured programming language.C++ is object oriented programming language. Thanks |
#24
11th March 2013, 10:28 PM
|
|||
|
|||
Re: How to study C++? What is the difference between C and C++?
Quote:
There is a lot of difference between C and C++, as C is the first language developed by Dennis Ritchie at Bell's Laboratory. Here are some of the basic difference between C and C++. >> C is a procedural language while C++ is an object oriented language. >>C++ can be considered as the Develop form of C.Its originated from c and include the most important concept which is "Object Oriented" >>specific OOP features like Data Hiding which are not present in C while many oops features like polymorphism, encapsulation are present. >>C uses the top-down approach while C++ uses the bottom-up approach. >>C files are stored with an extension '.c' whereas C++ files are stored with '.cpp'. >>C uses scanf & printf while C++ uses cin>> & cout<< as their respective input & output functions. If you want to know more about C language, i have attached the book by Kanetkar, it is very useful for beginners,,happy reading!! |
Related Topics: |
||
Thread | Replies | Last Post |
Difference between OC, BC, SC, ST and OBC? | 277 | 26th September 2022 02:30 PM |
Difference between the course of D.Ed and JBT? Is there any institute in Haryana conducting JBT course? | 15 | 5th September 2019 11:19 AM |
What is the difference between IAS, PCS and IRS? | 33 | 29th March 2014 03:07 PM |
What is the difference between BSc and B.E? | 24 | 25th January 2014 06:25 AM |
Difference between Nautical Science and Marine Engineering? | 12 | 24th June 2013 07:14 PM |
|