tags:

views:

93

answers:

5

What is the easiest framework/IDE fulfilling all following criteria? If such thing does not exist, what is the nearest?

  • compiles C++
  • installs in full without problems
  • runs under Windows or Linux (1 of those is enough)
  • allows to write text to terminal and simultaneously draw graphics
  • Hello World is short, about 10 lines for code drawing the simplest graphic dot
  • has integrated makefile system or something equivalent
  • has editor for multiple files and with code completion (like MSVS)
  • help or tutorials are adequate to the installed version
+4  A: 

Qt framework + Qt Creator IDE.

PC2st
+6  A: 

This would be QT, wouldn't it? You've got an IDE ( http://qt.nokia.com/products/developer-tools/ ) here and the GUI "Hello World" looks like this:

http://doc.trolltech.com/4.3/tutorial-t1.html

 #include <QApplication>
 #include <QPushButton>

 int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);

     QPushButton hello("Hello world!");
     hello.resize(100, 30);

     hello.show();
     return app.exec();
 }

You can also write text/command line tools from the IDE with or without using the framework.

Luther Blissett
It's `Qt`, not QT
rubenvb
+1  A: 

Qt is not the nearest but it is the destination for you. :)

Answers for your questions in the numeric order:

  1. Qt is a Framework on top of C++ so it does compile C++
  2. Install using this...
  3. Can be used under both platforms and much more is possible.
  4. For normal operation use Qt Core module and for graphics you can use Qt OpenGL module
  5. Already answered by Luther Blissett
  6. QMake is available for that purpose
  7. Qt Creator is available as an IDE which has intellisense as well and also can be integrated with Visual Studio also using VS Addin.
  8. Isn't it obvious with amount of links I provided. :) Just get start with this..

Moreover it's LGPL.. So give it a try for free..

Hope it helps..

liaK
A: 

Though about using SDL (Simple DirectMedia Layer)

codymanix
+1  A: 

If you are really looking for the simplest one, take a look at fltk:

http://www.fltk.org/

  1. It's written in C++
  2. It works in a variety of platforms
  3. GPL
  4. It's very fast
  5. It does not need of an special make.
  6. It also provides FLUID, an UI generator.

As I said, it would be worth taking a look. If you want a more professional solution, Qt will probably be the best solution, along with Gtk--

http://www.gtkmm.org/

Baltasarq