New Reply

Write the C++ function body?

I want to model the following very simple class:

class Foo {
  public:
    void bar() {
      std::cout << "Hello World!" << std::endl; // where to put this in Astah?
    }
}

My question is the line with the comment - where do I put this line in Astah such that it gets used for code generation?

Product: Astah Professional

Question Details

Preview: