You are here:

C++/c++ is not fully oops based

Advertisement


Question
can we write a program in c++ without creating class? if yes then is it the only reason which makes c++ somewhat differnt from oops based langauges?

Answer
> can we write a program in c++ without creating class?

Yes, certainly.


> if yes then is it the only reason which makes c++ somewhat different from oops based languages?

C++ is a multi-paradigm programming language supporting the imperative, generic, data-abstraction and object-oriented paradigms fairly well, and it has some limited support for the functional programming paradigm.
See: http://www2.research.att.com/~bs/bs_faq.html#multiparadigm

Pure oops based languages support only the object-oriented programming paradigm.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


vijayan

Expertise

my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.

Experience

over 15 years

Education/Credentials
post graduate engineer

©2012 About.com, a part of The New York Times Company. All rights reserved.