wxWidgets

wxTail 1.0 available

I'd released wxTail 1.0 for win32 , you can download it from wxtail.googlecode.com or sourceforge Features:

  • Multiple tab interface
  • Support drag and drop
  • Can stop/resume
  • Change the background color and text color
  • Low system resource usage

here's a screenshot.

Debugging and Logging in wxWidgets with wxLogWindow

wxLogWindow make it much easier to debugging and logging.

in the constructor add the following code:

#if defined(__WXDEBUG__ )
    //logging and debugging
    wxLogWindow *w= new wxLogWindow(this, wxT("Logger"));
    w->Show();
#endif

Then, in anywhere, add the following:

wxLogDebug(wxT("Debug message"));

Setup wxWidgets and Code::Blocks on Windows Vista

Since I'm going to extend my knowledge of programming, I selected wxWidgets as the next target. It has some advantages when comparing with other frameworks:

  1. cross platform: vs Win32, Cocoa, Gnome, KDE
  2. can develop commercial applications: vs Qt
  3. has more features: vs FLTK
  4. active community

So here's how to setup wxWidgets on Windows Vista. I assume you already setup MinGW and Code::Blocks.

  1. download and install wxWidgets: wxMSW-2.8.9-Setup.exe, I installed it to c:\apps\wxWidgets-2.8.9

Setup C++ Development using MinGW, Code::Blocks on Windows Vista

Download and install MinGW: 1. download MinGW-5.1.4.exe, create c:\MinGW, and run it. It'll download and install the current stable version of GCC, G++ etc. 2. set the environment, add c:\MinGW\bin;C:\MinGW\libexec\gcc\mingw32\3.4.5 to PATH 2.1 download gdb and extract to c:\MinGW 2.2 start a console, make sure you can run gcc -v and gdb -v 3. download code::blocks 8.02, install and start it 3.1 in code::blocks, settings->Global compiler settings, selected compiler=GNU GCC Compiler, then add the following into Search directories

Compiler tab

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer