Search:

Type: Posts; User: zdq

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    3,473

    I'll try, thanks. I'm trying to understand how I...

    I'll try, thanks. I'm trying to understand how I can utilize a vector of a shared pointer class that uses a ABC and it's children. I'm not experienced in C++ (150 hours or so during the past few...
  2. Replies
    10
    Views
    3,473

    The thing looks like this now: #include...

    The thing looks like this now:


    #include <iostream>
    #include <fstream>
    #include <iterator>
    #include <vector>
    #include <string>

    using namespace std;
  3. Replies
    10
    Views
    3,473

    Hi! When I remove the ampersand i get: ...

    Hi!

    When I remove the ampersand i get:


    ||In function 'std::ostream& operator<<(std::ostream&, A&)':|
    |39|error: no match for 'operator<<' in 'os <<...
  4. Replies
    10
    Views
    3,473

    Thanks for the help guys/girls! Whiteflags or...

    Thanks for the help guys/girls! Whiteflags or someone else can you please explain how you would call class A's print through another class D from main?

    I tried


    class D
    {
    public:
    friend...
  5. Replies
    10
    Views
    3,473

    I want to print out the information for the...

    I want to print out the information for the children inside a vector, utilizing a shared pointer class that utilizes an Abstract base class. I cannot figure out the right way to overload it however....
Results 1 to 5 of 5