Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 63033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:34:09+00:00 2026-05-10T18:34:09+00:00

I have the requirement of generating UML Diagrams for one of my C++ assignments.

  • 0

I have the requirement of generating UML Diagrams for one of my C++ assignments. I’m using Visio 2007 and I’m having trouble representing C++ vectors. The only way I can see this working is creating a custom C++ datatype or creating a vector class in my project, then for each instance of a vector in the UML, I need to dig into the properties and add <Class> into the suffix field.

Basically I’m trying to get vector<Object> without digging into the properties and adding <Class> to the suffix field every time.

I’m pretty much stuck with Microsoft software for making diagrams and coding so please don’t suggest I use different software. However, if Visual Studio 2003 supports making UML Diagrams in a less painful way than Visio, I wouldn’t object to using Visual Studio but please tell me where that option is.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:34:10+00:00Added an answer on May 10, 2026 at 6:34 pm

    You don’t need to stipulate that it’s a vector on the UML diagram.

    In the example you’re giving, there is a one-to-many relationship between one class and another. That’s the significant information you need to communicate.

    You’ve chosen to implement this as a vector: this is an implementation detail that doesn’t need to go on the diagram – just display a one-to-many association.

    If, for some reason, you need to change this to a std::list, or a std::deque, or any other stl container, you won’t need to update the diagram, because the one-to-many concept is still the same.

    Remember that you are displaying an abstraction of the code. If you want to convey how all the classes conceptually relate to eachother, a UML class diagram is ideal. If somebody wants to know the details of how it’s implemented, he or she can always use the diagram as a starting point before looking at the source code itself.

    For an example of one-to-many relationships displayed using UML, click here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 66k
  • Answers 66k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer For virtual methods, you can type override and then a… May 11, 2026 at 11:37 am
  • added an answer I would bet the ISO 8601 date time standard would… May 11, 2026 at 11:37 am
  • added an answer Use a custom configuration section. For one way to do… May 11, 2026 at 11:37 am

Related Questions

I have the requirement of generating UML Diagrams for one of my C++ assignments.
I have the requirement of generating UML Diagrams for one of my C++ assignments.
I have the requirement to call an internal method of a 3rd party object
I have a requirement to get the contents of every method in a cs
I have a requirement to read and display the owner of a file (for
I have a request for a contracting gig and one of the requirements in
I have the requirement to support different Master pages on my application (ASP.NET MVC).
I have the following requirement I have a Employee class: public class Employee {
I have a requirement to save an image file in various formats. The list
I am working on a project where the requirement is to have a date

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.