Thursday, July 30, 2009

Is there software that will write C++ code automatically?

It depends. There are packages out there that will convert UML to C++ code or many other types of code such as Java or SQL that you then run through a compiler or interpreter. Can it do that for a PC application? Probably no. Can it do that for general applications? Probably yes. Is it a good idea? That is a loaded question. It is definitely a programming paradigm shift, modifications and maintenance may be more difficult but on the other hand good requirements analysis and documentation are required since they "are" the code. Google "code generation" or "rose realtime" as a start.

Is there software that will write C++ code automatically?
Depends what you mean. If you mean, you don't have to touch any code, period, the short answer is no.





There are a number of IDEs (integrated development environments) that allow you to visually drag and drop elements into a project, and then specify certain parameters via a form; that minimizes your coding.





Borland's C++ Developer does this:





http://www.borland.com/us/products/cbuil...





So does Microsoft's Visual C++ Express:





http://msdn.microsoft.com/vstudio/expres...





And that tool is free to download / use.





There are also several programs that will convert one programming language to another; for example, a Visual Basic program to C++.


No comments:

Post a Comment