Laur's blog
Sign in Subscribe

cpp

A collection of 2 posts
Stream from a String Instead of CIN in C++
c

Stream from a String Instead of CIN in C++

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
Jan 11, 2016 1 min read
DBus and Qt programming - part 2
cpp

DBus and Qt programming - part 2

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: <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="
Mar 26, 2007 3 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost