Search:

Type: Posts; User: sjo

Search: Search took 0.01 seconds.

  1. Thread: new and delete

    by sjo
    Replies
    1
    Views
    383

    new and delete

    Can you use new&delete to create objects from a class?
    If you have an example of new&delete, I would appreciate it if you could
  2. Replies
    2
    Views
    425

    creator=Constructor

    creator=Constructor
  3. Replies
    2
    Views
    425

    What's the difference?

    Can you show us what each class, object and creator is like in code?
    I don't understand the three concepts, so I'm going to upload them.
  4. Thread: copy and generate

    by sjo
    Replies
    3
    Views
    270

    Automatically copy and create objects that you...

    Automatically copy and create objects that you create.
    - CObject Object2 (ObjectOrg);
    - CObject Object3 (ObjectOrg);
    Because I have to make this.
  5. Thread: copy and generate

    by sjo
    Replies
    3
    Views
    270

    new and delete?

    new and delete?
  6. Thread: copy and generate

    by sjo
    Replies
    3
    Views
    270

    copy and generate

    Is there a way to create multiple objects by simply renaming the same objects in an array?
  7. Thread: Find the problem!

    by sjo
    Replies
    3
    Views
    515

    #include using namespace std; ...

    #include <iostream>
    using namespace std;


    class CObject
    {
    public:
    char *_name;//name
    static int m_nNum;//consecutive numbers
    int m_nLife;//life
  8. Thread: Find the problem!

    by sjo
    Replies
    3
    Views
    515

    Find the problem!

    [ Copy Object ]
    1. Use String Class (Remove unnecessary member functions)


    2. Design an object class.


    - Memory area where the object's
    - Object serial number (static int m_nNum)
    ...
  9. Thread: function

    by sjo
    Replies
    4
    Views
    393

    If you created a class in a class How do you...

    If you created a class in a class
    How do you create a class such as CObject ObjectOrg() using the class in the class?
  10. Thread: function

    by sjo
    Replies
    4
    Views
    393

    I'm sorry. I know the problem. If I ask you a...

    I'm sorry. I know the problem.
    If I ask you a question again, can I put a class in the class?
  11. Thread: function

    by sjo
    Replies
    4
    Views
    393

    function

    Is there a problem with class CObject now ?
    Why is there an error in(char *name, int m_nLife) ?
    Why does the word "I need a discriminator" come out ?

    #include <iostream>
    using namespace...
Results 1 to 11 of 11