Thread: C++ and its creation objects

  1. #1
    Join Date
    Apr 2015

    C++ and its creation objects

    Hi guys!
    C++ language provide the facility for creating object from classes!
    my question is a lil weird, once I'm using the function new() for creating concrete object, how should I imagine that? I really find it hard to be used to the function "new" for creating objects.. any help?! thanks alot!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Thankfully, since C++17, you probably won't need to use new unless you're writing lower level functionality that's beyond you anyway. Problem solved!
    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: 1
    Last Post: 05-24-2011, 06:36 PM
  2. Replies: 2
    Last Post: 12-16-2008, 02:43 PM
  3. Assigning objects to objects
    By Swordsalot in forum C++ Programming
    Replies: 4
    Last Post: 07-26-2006, 03:47 AM
  4. Replies: 4
    Last Post: 10-16-2003, 11:26 AM
  5. Objects, or pointers to objects?
    By Unregistered in forum C++ Programming
    Replies: 5
    Last Post: 12-18-2001, 12:57 AM

Tags for this Thread