Posted on Wednesday, September 22, 2010 at 7:53 AM
Dear fellow programmers,
I am starting to appreciate to program 'in tandem': to program the game Pylos (also called Pyraos) I developed:
1) The class PylosCoordinat to hold valid coordinats
2) The class called Pylos to manage a Pylos game and tests the PylosCoordinat class
3) The class called PylosWidget to display Pylos and tests the Pylos class
4) The tool TestPylos to perform many tests on both classes
5) The game called Pylos, using the extensively tested classes
Using the same classes in multiple environmenents
Using the same classes in multiple projects has had the following benefit:
1) The interface was improved due to multiple project requirements
2) The classes were tested in more situations
You might want to look/enjoy:
1) The Pylos classes testing tool, TestPylos:
http://richelbilderbeek.nl/ToolTestPylos.htm
2) The Pylos game:
http://richelbilderbeek.nl/GamePylos.htm
See ya, Bilderbikkel
Posted on Tuesday, August 03, 2010 at 3:17 AM
When I was a kid I though that profiling would be either very complicated or a lot of work. gprof seemed to be a highly-praised profiler, so I installed it (very easy as well, using the Ubuntu Software Center). In Qt Creator, I got it to work within 5 minutes! I put a
how-to-use-gprof example at my website, so you can benefit as well!
Have fun profiling, Bilderbikkel
Posted on Saturday, July 31, 2010 at 7:46 AM
It was time to test my Qt Creator skills, by porting one of my own C++ Builder games to Qt Creator. It took some time to sort the many small problems out, but I have succeeded: Maziak (also known as Maziacs or Mazogs') is now cross-platform!
On my Maziak page (
http://www.richelbilderbeek.nl/GameMaziak.htm) you can find the complete C++ Builder and Qt Creator source code for comparison (and why is the Qt Creator code 40% shorter?)! But, of course, you can download the complete Qt Creator project and old Windows executable, so you can enjoy Maziak on any platform.
Enjoy!
Posted on Tuesday, July 20, 2010 at 8:50 AM
The drawback of making a change in IDE (as I did from C++ Builder to Qt Creator) is you got to find out how 'it' works: until a breakthrough, one gets stuck in the smallest detail.
This weekend, I had this breakthrough for doing 2D graphics inQt Creator 2.0. Check out my examples at
http://richelbilderbeek.nl/CppQt.htm : it even shows a simple individual-based SIR model (that is: a model in which an infectious disease spreads)! I hope you will quickly have as much fun with Qt as I have now!
Posted on Sunday, July 04, 2010 at 10:31 PM
Qt Creator 2.0 has arrived! For me the greatest improvement is the ability to do run-time debugging, instead of getting a
pesky error when using Ubuntu.
Of course, there is a lot more then that. Read
this page for the many additional improvements.
Enjoy, Bilderbikkel
Comments:
0
Tags:
C++,
News,
QT,
Qt Creator
Posted on Sunday, February 28, 2010 at 3:34 AM
The major reason why I had not switched from Windows to Linux was my that I would then lose my favorite IDE, C++ Builder 6.0.
C++ Builder 6.0 was released in 2002 and due to this, the compiler is not up-to-date anymore: I especially missed the use of many (e.g. Asio, Lambda, Tuple, Regex) Boost libraries.
But now I have found Qt Creator: an IDE that runs under both Linux and Windows, with a modern compiler, a GUI builder and an excellent code editor (class browsing, code completion, brace matching, etc).
The only drawback of Qt Creator is that it does not supply a version of the STL, nor does it supply Boost. But up until now, I have gotten a console Hello World program and the Boost library Asio (for networking) of it to work (see
http://richelbilderbeek.nl/CppQtHelloWorldConsole.htm and
http://richelbilderbeek.nl/CppCompileErrorUndefinedReferenceToBoostSystemGet_system_category.htm ).
Now I might finally take the step to Xubuntu...