Solved

c,c++ Problem Approach

Posted on 2000-05-15
6
191 Views
Last Modified: 2010-04-02
Dear All,

I am a beginer in c++ programming. I can't clearly mark out the difference in problem solving approach between c and c++. Can you help me?
0
Comment
Question by:VIPULMP
6 Comments
 
LVL 10

Expert Comment

by:makerp
ID: 2809924
the main difference is C is procedural and C++ exposes something called a class which allows you to encapsulate your data etc and provide classes which map onto objects that make up you problem. C++ exposes what is known as object orientated programming.
0
 

Expert Comment

by:forza
ID: 2809931
C++ implements the Object Oriented Design approach...
0
 

Expert Comment

by:forza
ID: 2809951
I very much recommend using the Object Oriented way of thinking right from the start if you're a beginner. It will help you design your programs in an easy way.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:jasonclarke
ID: 2809958
Its all about OO (at least probably) as the others said.  Try looking at:

http://www.cetus-links.org/oo_infos.html

some of the links in the Start Here section will probably of most use.

(It is worth pointing out, however, that C++ is not just an OO language, strictly speaking it supports OO programming.  You can, if you choose, do generic programming, or procedural programming (like C) with C++).
0
 

Author Comment

by:VIPULMP
ID: 2815904
Hi All,
  jasonclarke : I found the link very useful.
  Thanks a lot to all.  
0
 
LVL 9

Accepted Solution

by:
jasonclarke earned 50 total points
ID: 2816321
So, in that case I will answer (see comments above).
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question