Solved

c,c++ Problem Approach

Posted on 2000-05-15
6
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

729 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