Smart tool (addin?) For creating a class body from a header file

you probably know this - you will create a cool class, you will think about it a bit, maybe even pull a little UML here and there, and then you are ready to implement it. You create header files with member functions, perhaps even some member properties.

And now comes the boring job of copying everything into a .cpp file. It's true, using things like Visual Assist can shorten this task, but still - do I really need to do this? Is there any tool / addin / direct in Visual Studio that does this for me? You know, something like right-clicking on the header file in Solution explorer, "Create a new .cpp for this header file."

+5
source share
4 answers

As I recall, Rational Rose could generate (and round-trip) C ++ code.

IBM Rational http://www-01.ibm.com/software/rational/?S_TACT=105AGY59&S_CMP=13&ca=dtl-13 p>

+1
source

ArgoUML is the program we use to work with class diagrams, which allows you to easily view the .h and .cpp files of the classes you create. Not only in C ++, but also in PHP (4/5), C # and Java. This prevents you from creating charts from .h files, so I don’t know if this will be especially useful for you if you already have your headers. However, this could help in the future.

+1
source

.

, .

0

All Articles