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

  • SEARCH
  • Home
  • 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 573629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:44:38+00:00 2026-05-13T13:44:38+00:00

UML is most commonly used for modelling system by using C++. In my projects

  • 0

UML is most commonly used for modelling system by using C++. In my projects C is the implementation language. I am looking for resources on UML strategies which are applicable for C. I want to use UML during design and represent the different aspects of the system.

  • 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-13T13:44:39+00:00Added an answer on May 13, 2026 at 1:44 pm

    I don’t know of any existing resources that discuss using UML specifically for C. As others have mentioned, UML is language-agnostic.

    Keep in mind that with UML, you can have a model for the problem domain, and another for the implementation. Try not to model the problem domain in terms of C, but rather as high-level OO. Once you understand the problem domain adequately enough, you can begin modeling an implementation.

    For modeling procedural-style C implementations, the following diagrams could be useful:

    • Class diagram:
      • Show C module APIs
      • Show C module relationships (mostly dependencies for non-OO)
      • Show structures and enumerations (using < < stereotype> >)
    • Package diagram: Show contents (modules) of libraries, and the dependency relationships between libraries
    • Activity diagram: Flowcharting non-trivial algorithms
    • Sequence/collaboration diagram: Show how events/messages between modules/entities/inputs/outputs occur in time
    • Statechart diagram: For state machines, of course!

    Expanding on class diagrams, you can “abuse” them in the following way for procedural-style C:

    • Global extern functions -> public methods
    • Local static functions -> private methods
    • Global extern variables -> public members
    • Local static variables -> private members
    • Structs -> class with “struct” stereotype
    • #define constants -> class with “enumeration” stereotype

    Experiment, and you’ll find your own conventions for abusing UML.

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

Sidebar

Related Questions

Could UML be used to program a computer system on its own, without a
When drawing a UML usecase diagram ... activities which are processed by the system
I want to design my classes in UML. Currently am using ArgoUML, which is
most of the books that I have read on UML uses the Java language
I am doing a UML modelation of a system in which I have to
UML is a standard aimed at the modeling of software which will be written
Sadly UML has virtually killed SDL (Specification and Description Language, ITU Z.100) and finding
If we consider a UML diagram where we have an object which contains a
I'm looking for a good UML tool (free or at least available as a
UML Components is a Component-Based Development method by Cheesman and Daniels (2001) which is

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.