Category Archives: C++

Compiling GDB Debugger in Windows

Here are the steps: Download 7-zip, if you do not have one. Install MinGW, please read MinGW’s Getting Started wiki. I choose manual installation: Download at least the following (or newer) packages from the MinGW download page: binutils gcc-core mingw-runtime … Continue reading

Posted in C++, Debug | Tagged , , | 2 Comments

JavaCC

I learned to use JavaCC these days. And I found that JavaCC is a great toolkit. What is JavaCC? JavaCC is short for Java Compiler Compiler. It is a parser or scanner generator for Java. Java Compiler Compiler [tm] (JavaCC … Continue reading

Posted in C++, Java, JavaScript | Tagged , | 2 Comments

Create a Process and Read Its Output

This is a snippet of windows C++ code to create a process and read its output until some specific string is printed. This is useful for programmer to start a server and only to return until the server is started, … Continue reading

Posted in C++, Snippet, Tricks | Leave a comment