Software Design

Design de software em C, C++, Java, etc…

Arquivo da tag: unix

C++ Class to Measure execution time of a method

Here is a simple class that can be used to measure the execution time of a method or group of methods. Alternatively it can be used as a measure of … Continuar lendo

outubro 26, 2011 · Deixe um comentário

Cross-compiling for x86 in FreeBSD 64 bit

Today I needed to create 32 bit binaries of a program but I had only a 64 bit FreeBSD 8 machine. I must say that I am far from being … Continuar lendo

outubro 18, 2011 · Deixe um comentário

C++ Class to encapsulate posix popen

Recently I needed to call a linux command from my application, the problem was that the command doesn’t takes all the input by parameters, and my application needed to send … Continuar lendo

junho 22, 2011 · Deixe um comentário