What is Object Oriented Programming?

This is a discussion on What is Object Oriented Programming? within the C++ Programming forums, part of the General Programming Boards category; Hello everyone, what is this OOP ( Object Oriented Programming )? I can't understand the meaning in the C programming ...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    1

    What is Object Oriented Programming?

    Hello everyone, what is this OOP(Object Oriented Programming)? I can't understand the meaning in the C programming site.It is written that "Object Oriented programming is building a program around self contained collection of data and code to modify that data".How the data can itself be modified? and another thing, it is said that it simplifies transfer of code from one program to another by encapsulating it.Why the code has to be transfered?.Please explain me all these things and As I am beginner to this C++programming , I can't understand those topics.I tried to see in dictionary but also understood nothing.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    20,971
    The Fundamental concepts section of the current Wikipedia article on object oriented programming looks like it may help you understand the concepts better. Read it and see if you can understand it.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,170
    It states if code has to be moved, the process is simplified. It's a lot to explain, so consider reading the wikipedia article and see if you understand it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.
    For information on how to enable C++11 on your compiler, look here.
    よく聞くがいい!私は天才だからね! ^_^

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    http://objectmentor.com is a great resource. Check the articles in the resource section.

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Whatever it is they aren't teaching it in college these days. The extent of OOP is the typical Encapsulation and Code Reuse Buzzwords.

  6. #6
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Quote Originally Posted by indigo0086 View Post
    Whatever it is they aren't teaching it in college these days. The extent of OOP is the typical Encapsulation and Code Reuse Buzzwords.
    I see overuse of inheritance a lot, in the name of "code reuse".

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I've been reading design patterns and it's like I skipped a semester where I should have been taking that class, which doesn't exist anyway.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's a good Object Oriented Strategy for OpenGL/Graphics
    By indigo0086 in forum Game Programming
    Replies: 9
    Last Post: 04-03-2007, 06:27 PM
  2. object oriented C
    By FlatLost in forum C Programming
    Replies: 4
    Last Post: 11-08-2005, 05:22 AM
  3. Question on l-values.
    By Hulag in forum C++ Programming
    Replies: 6
    Last Post: 10-13-2005, 04:33 PM
  4. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21