问题
I have a class diagram , I want that to draw it in some tool which can generate native C++ out of it , I wish to have design first approach to test the various data structures I am designing for my application
回答1:
A lot of tools can make C++ code out of UML diagrams. Try Software Ideas Modeller for example, it's a great UML tool, and it's free for non-commercial use.
Also, wiki has a list of UML tools. You can sort them by "languages generated" column to check what they do support and chose the one that you will like.
回答2:
You can also try UMLET for your work.
You can seach mofre on google by typing
From Tricky Hacker
来源:https://stackoverflow.com/questions/11574143/any-tool-which-generate-c-code-against-a-design