#1  
15th January 2011, 09:51 PM
Unregistered
Guest
 
Posts: n/a

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





Related Questions:
  1. What is the difference between B.Maths and B.Stats? What is the syllabus for the same?
  2. Difference between BSc CSIT and B.Tech IT? I have just done my class 12th
  3. In which entrance exam I have to appear among NEET and PMT to study MBBS? Difference between them?
  4. Difference between CSE and IT branch? What is the scope of the same? -- [Most Discussed]
  5. What is the difference in BSc Nursing and GNM?
  6. What should I study in M.Sc being a B.Sc(Zoology) candidate? Difference between simple M.Sc and M.Sc Honours?
  7. In which entrance exam should I appear among NMAT and GMAT to study MBA in Abroad? Difference between them?
  8. Is there any difference between M.A. and M.Sc to study Psychology?
  9. Can I study Archaeology in Post Graduation if completed B.Tech(ECE)? Basic difference between M.Phil and M.A.?
  10. Difference between Nanotechnology and Nanophysics?
  11. Difference between IIT JEE and ISAT preparation?
  12. How to study C++? What is the difference between C and C++?
  13. What's the difference between ICWA and C.A? Does ICWA provides graduation certificate? What's the fee structure?
  14. What to do MCA or M.Sc IT? Difference between both the courses? Benefits of M.Sc IT upon MCA?
  15. Which is better to study among MHA and MHM for a Dentist? Basic difference between them?
  16. Can I apply for an education loan to study MD course at UK? What will be the difference between interest rate of India and UK? -- [New]
  17. Are JRF and NET same?
  18. What is the difference between GMAT and NMAT? Which entrance exam should I appear among NMAT and GMAT to study MBA in Abroad?
  #2  
17th May 2011, 06:11 PM
Sumit Ahujaa
Senior Member
 
Join Date: May 2011
Location: u.p
Posts: 432
Default 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, 01:27 AM
BISWARUPYOGI
Senior Member+++++
 
Join Date: May 2011
Location: India
Posts: 38,541
Default 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, 10:55 PM
Ankur agrawal
Senior Member
 
Join Date: Sep 2010
Posts: 859
Default Re: How to study C++? What is the difference between C and C++?

Quote:
Originally Posted by Unregistered View Post
Can you explain me how to study C++ and difference between C and C++..can you please explain the difference
Hiii,

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
Reply With Quote
  #5  
19th May 2011, 01:52 PM
Ankur agrawal
Senior Member
 
Join Date: Sep 2010
Posts: 859
Default 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
Reply With Quote
  #6  
19th May 2011, 01:56 PM
Ankur agrawal
Senior Member
 
Join Date: Sep 2010
Posts: 859
Default Re: How to study C++? What is the difference between C and C++?

Quote:
Originally Posted by Sumit Ahujaa View Post
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

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
Reply With Quote
  #7  
1st August 2011, 12:02 AM
akhilesh16071991
Senior Member++
 
Join Date: Jun 2011
Location: Jodhpur
Posts: 1,149
Default 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.
Reply With Quote
  #8  
5th August 2011, 12:54 PM
Unregistered
Guest
 
Posts: n/a
Default Re: How to study C ? What is the difference between C and C ?

why c structure have a different behaviour compared to c structures?
Reply With Quote
  #9  
13th August 2011, 01:38 PM
Unregistered
Guest
 
Posts: n/a
Default Re: How to study C ? What is the difference between C and C ?

WHICH IS BETTER PROGRAMMING LANGUAGE TO GET JOB FOR B.TECH-IT STUDENT TO GET JOB??
Reply With Quote
  #10  
15th August 2011, 11:06 PM
balafederer
Senior Member+
 
Join Date: Jul 2011
Posts: 813
Default 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
Reply With Quote
  #11  
16th August 2011, 01:46 AM
divyanakra
Senior Member+
 
Join Date: Jul 2011
Posts: 505
Default 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.
Reply With Quote
  #12  
29th August 2011, 03:18 AM
amaan khan ak
 
Join Date: Aug 2011
Location: bikaner
Posts: 579
Default Re: How to study C++? What is the difference between C and C++?

Quote:
Originally Posted by Unregistered View Post
Can you explain me how to study C++ and difference between C and C++..can you please explain the difference


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
Reply With Quote
  #13  
29th August 2011, 05:10 PM
ANIAAAAANNNNNIIIII00000
Senior Member
 
Join Date: Aug 2011
Posts: 487
Default 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
Reply With Quote
  #14  
30th August 2011, 10:42 AM
nambardar
Senior Member+
 
Join Date: Jul 2011
Location: bikaner
Posts: 881
Default 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.
Reply With Quote
  #15  
4th September 2011, 12:55 AM
kameshsriram
 
Join Date: Aug 2011
Posts: 140
Default 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
Reply With Quote
  #16  
5th September 2011, 12:24 AM
manoj rajpurohit
Junior Member
 
Join Date: Feb 2011
Location: Bikaner
Posts: 352
Default 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.
Reply With Quote
  #17  
12th October 2011, 06:45 PM
Unregistered
Guest
 
Posts: n/a
Default Re: How to study C ? What is the difference between C and C ?

what is function overloading
Reply With Quote
  #18  
12th December 2011, 03:28 PM
Unregistered
Guest
 
Posts: n/a
Default Re: How to study C ? What is the difference between C and C ?

difference between structure query language and structure oriented language?
Reply With Quote
  #19  
23rd June 2012, 06:37 PM
navjotsidhupamal
Senior Member++
 
Join Date: May 2012
Location: ludhiana,punjab
Posts: 1,136
Default 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.
Reply With Quote
  #20  
23rd June 2012, 08:53 PM
navjotsidhupamal
Senior Member++
 
Join Date: May 2012
Location: ludhiana,punjab
Posts: 1,136
Default 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..!!
Reply With Quote
  #21  
24th June 2012, 04:00 AM
GURINDER BILLING
Senior Member
 
Join Date: May 2012
Posts: 409
Default 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!!!
Reply With Quote
  #22  
15th September 2012, 07:18 PM
Unregistered
Guest
 
Posts: n/a
Default Re: How to study C ? What is the difference between C and C ?

What is c
Reply With Quote
  #23  
16th September 2012, 12:04 AM
mailme.ramkapoor
Senior Member
 
Join Date: Sep 2012
Posts: 110
Default 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
Reply With Quote
  #24  
11th March 2013, 11:28 PM
yashwar sharma S.G.
Senior Member++
 
Join Date: Jan 2011
Location: In MY ROOM :)
Posts: 1,100
Wink Re: How to study C++? What is the difference between C and C++?

Quote:
Originally Posted by Unregistered View Post
Can you explain me how to study C++ and difference between C and C++..can you please explain the difference
Hello dear,

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!!
Attached Files
File Type: pdf Let Us C - Yashwant Kanetkar.pdf(6.87 MB, 617 views)
Reply With Quote
Do you have any question? or have anything to say?



Related Topics:

Thread Replies Last Post
Difference between OC, BC, SC, ST and OBC? 268 8th September 2019 10:08 AM
Difference between the course of D.Ed and JBT? Is there any institute in Haryana conducting JBT course? 15 5th September 2019 12:19 PM
What is the difference between IAS, PCS and IRS? 33 29th March 2014 04: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 08:14 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBulletin Optimisation by vB Optimise.
Please also check: