Skip to content

Content Tagged "cpp"

Page 1 of 1

Stream from a String Instead of CIN in C++

January 11, 2016Category: Software
TL;DR : You can stream from a string instead of STDIN . Code is simple and is listed below. A project I did recently had a requirement to overload the >> operator use and STDIN to load data. The problem was not the overload itself, but the fact that testing would introduce a manual side. To get…

DBus and Qt programming - part 2

March 26, 2007Category: Software
Note: This is a really old post which was originally published in 2007. Stuff may have changed since both with Qt and D-BUS The D-Bus translation First, note the "arg0" annotation, required for the struct type: This actually helps the qdbusxml2cpp to typ-ify the generated code. On the client…

All tags