Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: Mohi on July 17, 2011, 06:58:42 am

Title: C++ Codegeneration
Post by: Mohi on July 17, 2011, 06:58:42 am
Hi everybody,
i'm searching for a document, where I can read about code generation of EA. I want start a very simple "hello world" programm, STEP BY STEP .
generate the Code compile it, and run it.
I know UML very well,  my problem is using EA to generating "c++"-code.
Can somebody help me?

Thanks a lot
Title: Re: C++ Codegeneration
Post by: SomersetGraham on July 18, 2011, 05:27:15 pm
Hi
This is a good starting point
http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/codeengineering.html
Title: Re: C++ Codegeneration
Post by: Mohi on July 19, 2011, 06:51:27 am
Hi,
thank you for your info. I had study this all, there is any help about build or debug a programm. Only helps to generate code for someclasses , ...

What i searching for is  a step by step description.

:(
Title: Re: C++ Codegeneration
Post by: SomersetGraham on July 19, 2011, 05:03:24 pm
http://www.sparxsystems.com/uml_tool_guide/visual_execution_analyzer/buildandrun.htm
Title: Re: C++ Codegeneration
Post by: Thomas_Arnbjerg on July 19, 2011, 10:27:07 pm
Have a look at the diagram found at the bottom of this link:
http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/basetemplates.html

Understanding this will get you a long way.
Title: Re: C++ Codegeneration
Post by: hds on July 28, 2011, 04:32:20 pm
Hi all,

I also try to generate C code from my own model.
All listed so called "user guides" give no answers!
I can't believe, there is no suitable document describes the concept of how to  :-[.

Anyway my model is structured in components. Some components have components included. In the deepest level, there are all classes.

If I now start "code generation", EA tells me "There is nothing to do!"

Why is EA unable to check deeper levels of components for classes???
I found only one way to generate code: Generating code class by class manually - nearly 100 classes! This can't be the right way -OR?

Hope for help.