Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: apb210

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    589

    Incorrect values Printed

    I have a piece of code that looks like this
    Basically, I have a Customer class and the Customer selects from a list of offers from a vector which is defined inside the Customer class.


    for...
  2. Replies
    6
    Views
    554

    Re: Initializing Vector of Objects with NULL

    Thanks. However, I need this forward declaration because I have a class B using class A as well. It's like a cyclic relationship
  3. Replies
    6
    Views
    554

    Re: Initializing Vector of Objects with NULL

    Okay here I go again:

    I have:


    #include "A.h"
    class A; //Forward Declared
    class B
    {
    vector <A> v1;
  4. Replies
    6
    Views
    554

    Re: Initializing Vector of Objects with NULL

    I am new to this and not sure what exactly you mean.

    Anyways, All I want is to create a vector of objects of a particular class. What is the difference between

    vector<B> *v1
    and
    vector<B*>...
  5. Replies
    6
    Views
    554

    Initializing Vector of Objects with NULL

    class A; //forward defined in class B.h
    class B
    {
    private:

    vector<B> v1;
    vector<B> v2[3];

    public:
    void Display()
Results 1 to 5 of 5


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center