Thread: OOP, procedural programming, etc.

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    254

    OOP, procedural programming, etc.

    Hi

    Please help me with queries below.

    1: I understand that OOP is not a language rather it's a tool to better organization of data. It is said before most languages were procedural - 'procedure': a series of steps followed in a regular definite order. I think without OOP functionality C++ is a procedural language; OOP adds further features of data handling etc. So, I would say languages, at least C++, is still procedural. Please correct me.

    2: "+" is a binary operation. Is a function also an operation rather a set of code which performs particular task?

    3: How would you simply define "polymorphism"? Perhaps analogizing it would be better.

    4: Does OOP give you better data security and data hiding? "security" and "hiding" in what way? One cay still access data. I mean you don't need password to access anything. Perhaps, it's just that you have to dig a little deeper to mess up things.

    Thank you for your time and help.

    Regards
    Jackson
    I'm an outright beginner. Using Win XP Pro and Code::Blocks. Be nice to me, please.

  2. #2
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    Answered elsewhere for those who care about such things; for those who don't, sorry to spoil an answering opportunity.

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Crosspost? jackson?
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Idea for procedural 2d bitmap renderer
    By Agroking in forum Game Programming
    Replies: 3
    Last Post: 03-23-2011, 12:00 PM
  2. Procedural Noise and OpenGL Help!
    By Freestyler in forum C Programming
    Replies: 8
    Last Post: 04-18-2008, 08:06 AM
  3. Switching from procedural to OOP
    By Thantos in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 04-04-2004, 10:08 PM
  4. OO vs. Procedural Programming
    By Speedy5 in forum Tech Board
    Replies: 23
    Last Post: 03-15-2004, 10:08 AM
  5. OOP v Procedural
    By NickESP in forum C++ Programming
    Replies: 7
    Last Post: 02-08-2003, 06:46 AM