Thread: Object Oriented in C++

  1. #1
    Registered User
    Join Date
    Nov 2019
    Posts
    14

    Object Oriented in C++

    Hi guys, searching for materials/videos on CTRL in C++ that this as I understood it's related to OBJECT ORIENTED .. any help?
    I was developing in python and I know what OBJECT ORIENTED is, but I moved to develop in C/C++ so I need to know how object ORIENTED in C++ is accomplished ..


    thanks!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,550
    What's CTRL?

    As for "how object ORIENTED in C++ is accomplished": work through an introductory book or comprehensive tutorial on C++.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2019
    Posts
    14
    Quote Originally Posted by laserlight View Post
    What's CTRL?

    As for "how object ORIENTED in C++ is accomplished": work through an introductory book or comprehensive tutorial on C++.
    sorry meant STL, what's used for?

    and by the way, when I use the data type auto? what's stand for? as I've read it's just found in new compilers ..
    Last edited by Brian_Teir; 12-07-2019 at 07:00 AM.

  4. #4
    Registered User
    Join Date
    Nov 2019
    Posts
    14
    Quote Originally Posted by laserlight View Post
    What's CTRL?

    As for "how object ORIENTED in C++ is accomplished": work through an introductory book or comprehensive tutorial on C++.
    maybe you know any good website for? I mean online videos for free? really I don't have currently book, I used online tutorials for c/c++ basic.

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    27,550
    Quote Originally Posted by Brian_Teir
    sorry meant STL, what's used for?
    The "STL" stands for the "Standard Template Library", which is a collection of class templates and function templates providing generic algorithms, containers, and other connecting generic components to work with them, hence standardising such tools in a de facto way. It typically isn't used today because it has been integrated into the C++ standard library (i.e., the de jure standard), but for nostalgic reasons C++ programmers might still refer to the standard library components inspired by the STL as "the STL".

    Quote Originally Posted by Brian_Teir
    and by the way, when I use the data type auto? what's stand for? as I've read it's just found in new compilers ..
    auto isn't a data type; it's a way to declare the type of an object by deducing the type from its initialiser: Getting your head around auto’s type-deduction rules

    Quote Originally Posted by Brian_Teir
    maybe you know any good website for?
    This is a comprehensive online tutorial from an author who has actively responded to improvement suggestions: LearnCpp

    Quote Originally Posted by Brian_Teir
    I mean online videos for free?
    I do not recommend online videos for introductory material because you need to be trying things out, not just watching a lecture.

    Quote Originally Posted by Brian_Teir
    really I don't have currently book
    Books could be available from your local library, or these days e-books for borrowing might be available online.

    Quote Originally Posted by Brian_Teir
    I used online tutorials for c/c++ basic.
    Which online tutorials did you use?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 09-07-2017, 11:35 AM
  2. Need help with object oriented C++
    By shina in forum C++ Programming
    Replies: 10
    Last Post: 07-14-2015, 08:24 PM
  3. Object Oriented C
    By CSaw in forum C Programming
    Replies: 6
    Last Post: 07-06-2011, 05:06 AM
  4. Object oriented SDL
    By jamort in forum Game Programming
    Replies: 3
    Last Post: 01-31-2011, 09:07 AM
  5. object oriented C
    By FlatLost in forum C Programming
    Replies: 4
    Last Post: 11-08-2005, 06:22 AM

Tags for this Thread