Jump to content

Ultimate++

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Uppket (talk | contribs) at 19:53, 6 November 2022 (Simplify see also section to only entries that matters in context of Ultimate++). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Ultimate++
Developer(s)U++ team[1]
Initial release2004; 21 years ago (2004)
Stable release
2022.2 (rev. 16270) / 23 May 2022; 3 years ago (2022-05-23)[2]
Repository
Written inC++
Operating systemUnix/Linux/FreeBSD (X11), Windows, Windows CE, macOS
TypeApplication framework
LicenseBSD license
Websiteultimatepp.org

Ultimate++,[3][4][5] also known as U++ or Upp - is a C++ rapid application development framework which aims to reduce the code complexity of typical desktop applications by extensively exploiting C++ features. Programs created with it can work on multiple operating systems and hardware architectures without the need to write platform specific code.

It possesses its own integrated development environment called TheIDE[6] that is designed to handle all library features.

Features

The major Ultimate++ features are:

  • Supports Unix/Linux/FreeBSD (X11), Microsoft Windows and macOS.
  • Compatible with C++20
  • Includes an IDE and a GUI designer.
  • Uses heavily RAII and auto pointers-like mechanisms to avoid manual memory management and even to limit the use of pointers in the code [7]
  • Can emulate[8] native widgets look and feel. On X11 systems, Ultimate++ supports GTK+ widgets look and feel.
  • Standard distribution comes with Ultimate++ sources included, even the IDE ones.
  • Uses NTL as template system instead of STL.
  • Database management and application development with SQL
  • Many technologies like Topic++ (Documents editor), Assist++ (Code completion, analyzer), Icon designer and more are built in to the U++

Hello World

The following example creates a C++ application with "Hello world!" button:

#include <CtrlLib/CtrlLib.h>

using namespace Upp;

class MyApp : public TopWindow 
{
public:
    MyApp() 
    {
        Title("Hello world");
        button.SetLabel("Hello world!");
        button << [=] {
            if (PromptYesNo("Button was clicked. Do you want to quit?"))
                Break();
        };
        Add(button.HSizePos(100, 100).VSizePos(100, 100));
    }
    
private:
    Button button;
};

GUI_APP_MAIN
{
    MyApp().Run();
}

Software built on Ultimate++

Example applications using Ultimate++ are:

See also

References

  1. ^ "U++ team".
  2. ^ "Release history".
  3. ^ http://www.programmez.com/magazine_articles.php?id_article=981 Programmez! issue 104
  4. ^ http://www.programmez.com/magazine_articles.php?id_article=1150 Programmez! issue 114
  5. ^ Gouvernelle, Vincent (2009). C++: L'essentiel du code et des commandes. Pearson Education France. ISBN 978-2-7440-2281-4.
  6. ^ Getting started with Ultimate++ CodeProject article
  7. ^ U++ Overview
  8. ^ Chameleon examples
  9. ^ "Building OpenWind".
  10. ^ "Ultimate++ Forums - UppCAD". Retrieved 2020-10-18.
  11. ^ "UppCAD". Retrieved 2020-10-18.