C++ and Object Oriented Programming

This is a discussion on C++ and Object Oriented Programming within the C++ Programming forums, part of the General Programming Boards category; Can anyone give me a overview on object oriented programming and it can be greatly implemented with C++? Also, what ...

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    14

    C++ and Object Oriented Programming

    Can anyone give me a overview on object oriented programming and it can be greatly implemented with C++?

    Also, what can the C++ programming language do completely on its own without library functions and other 3rd party components?

    Is it possible to create applications that can run on set-top boxes and other non-computer platforms such as mobile phones?

    I am currently studying Beginning C++: The Complete Language and Beginning Visual C++ 6.0, both by Ivor Horton.

    Thanks
    VD
    Set VBDeveloper = New VisualCDeveloper

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >Can anyone give me a overview on object oriented programming
    PIE: Polymorphism, Inheritance, Encapsulation.

    >Also, what can the C++ programming language do completely
    >on its own without library functions and other 3rd party components?
    You can write most of the library functions out there with core C++.

    >Is it possible to create applications that can run on set-top
    >boxes and other non-computer platforms such as mobile phones?
    Yes.

    -Prelude
    My best code is written with the delete key.

  3. #3
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >Can anyone give me a overview on object oriented
    >programming and it can be greatly implemented with C++?

    I'm not a teacher and not good in explaining this, but this person can:

    http://catalog.com/softinfo/objects.html

    >Also, what can the C++ programming language do completely
    >on its own without library functions and other 3rd party
    >components?

    With the C++ programming language only you can write library functions and 3rd party components.

    >Is it possible to create applications that can run on set-top
    >boxes and other non-computer platforms such as mobile
    >phones?

    A non-computer platform? You mean a non-PC plafrom I guess. C++ is used a lot in embedded systems.

  4. #4
    Unregistered
    Guest
    Can anyone give me a overview on object oriented programming and it can be greatly implemented with C++?
    OOP is a more abstract way to organize the attributes (data) and the operations (functions/methods) that use the attributes, to accomplish some user defined task. Software programs are designed as components that send messages to each other through external interfaces. The goal of stable OOP design is to isolate or encapsulate component responsibility so that changes can be made internally to any one component without affecting the responsibilities in any of the other components. The only thing that can not be changed are the external interfaces. When you learn C++ you will find that the language provides options that make this job easy.

    C++ supports multi-paradigms (procedural, object based, object oriented, and generic programming).

    Also, what can the C++ programming language do completely on its own without library functions and other 3rd party components?
    C++ has a definition that is specified in the form of an international standard. Search < www.iso.org >. There is no such thing as C++ without libraries. The C++ has a Standard Template Library (STL) that is very feature rich. When you use a compiler it will supply additional vendor specific libraries that were developed using C++ but they are not standardized. If you use the Microsoft VC++6.0 than it will have all of the STL as well as it's own vendor libraries that you can use in your C++ programs depending on they project workspace that you create.

    Is it possible to create applications that can run on set-top boxes and other non-computer platforms such as mobile phones?
    C++ is a high level language, and it must be compiled to machine code before it can be executed. You will have to know the hardware specifications of the device. The architecture that you build for on your PC is called Intel x86. The operating system takes care of the details. Your non-computer platforms will be a differnet architecture but they will likely function through a lightweight operating system for which you can compile to. Isn't the set-top box made by Microsoft?

Popular pages Recent additions subscribe to a feed

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