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 968169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:26:07+00:00 2026-05-16T02:26:07+00:00

I have a program I made in C++ that does not use classes, just

  • 0

I have a program I made in C++ that does not use classes, just simply functions and main().
I want to know what kind of diagrams I can draw for it. Here are a couple of things I have in mind.

  1. Activity diagram
  2. Sequence diagram
  3. class diagram – obviously can’t draw this because I didn’t use classes
  4. system architecture
  5. state diagrams
  6. use case diagrams

Out of these what can I draw?

  • 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. Editorial Team
    Editorial Team
    2026-05-16T02:26:08+00:00Added an answer on May 16, 2026 at 2:26 am

    I’m guessing from the diagrams that you are aligned to a * Unified Process approach.

    IMHO:

    • Use Case – definitely – eliciting business and system level requirements is implementation agnostic
    • System Architecture – definitely – layers, processes, network, db and modules / packages.
    • Activity Diagrams – definitely – use this to describe process flows for key processes
    • State Diagrams – applicable, although usually associated with the state and lifespan of a single object instance, but it is still conceptually useful if you are maintaining state through other means
    • Sequence Diagram – applicable, although you will probably need to provide an arbitrary class name to attach your functions (if you are using namespaces, then possibly aggregate to these these instead?)

    However, you might hit issues if you want to generate and round-trip code from your diagrams e.g. from a CASE tool such as Rational Rose – most will assume an OO implementation language (noting that the three Amigos are strongly associated with OO!)

    I guess this begs the question as to why you would need to develop a procedural app using an OO language and document it with OO techniques?

    HTH

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

Sidebar

Related Questions

I have made a program that scans rss feeds. This same program creates feeds
I have made a script that uses a program called Diascope, its a video
I have a pointer of a structure type that I made. On program start
I have made a batch file that call another one program.bat , the first
I have made a Windows Service that gets installed in a c:\Program Files\My Service
I have made a registration program. Making use of mysql database. Can I still
I want to make a program that does an order entry system for beverages.
I have made a program that finds and measures the radius of yeast colonies
I got a weird problem. I have a program that (does many things but
I have a program made up of several .h and .c files and a

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.