Thread: How to study C++? What is the difference between C and C++? Reply to Thread

Your Username: Click here to log in
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options

Miscellaneous Options

Topic Review (Newest First)

11th March 2013 11:28 PM
yashwar sharma S.G.
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!!
16th September 2012 12:04 AM
mailme.ramkapoor
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
15th September 2012 07:18 PM
Unregistered
Re: How to study C ? What is the difference between C and C ?

What is c
24th June 2012 04:00 AM
GURINDER BILLING
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!!!
23rd June 2012 08:53 PM
navjotsidhupamal
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..!!
23rd June 2012 06:37 PM
navjotsidhupamal
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.
12th December 2011 03:28 PM
Unregistered
Re: How to study C ? What is the difference between C and C ?

difference between structure query language and structure oriented language?
12th October 2011 06:45 PM
Unregistered
Re: How to study C ? What is the difference between C and C ?

what is function overloading
5th September 2011 12:24 AM
manoj rajpurohit
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.
4th September 2011 12:55 AM
kameshsriram
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
30th August 2011 10:42 AM
nambardar
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.
29th August 2011 05:10 PM
ANIAAAAANNNNNIIIII00000
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
29th August 2011 03:18 AM
amaan khan ak
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
16th August 2011 01:46 AM
divyanakra
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.
15th August 2011 11:06 PM
balafederer
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
13th August 2011 01:38 PM
Unregistered
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??
5th August 2011 12:54 PM
Unregistered
Re: How to study C ? What is the difference between C and C ?

why c structure have a different behaviour compared to c structures?
1st August 2011 12:02 AM
akhilesh16071991
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.
19th May 2011 01:56 PM
Ankur agrawal
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
19th May 2011 01:52 PM
Ankur agrawal
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
18th May 2011 10:55 PM
Ankur agrawal
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
18th May 2011 01:27 AM
BISWARUPYOGI
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.
17th May 2011 06:11 PM
Sumit Ahujaa
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
15th January 2011 09:51 PM
Unregistered
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

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



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.