c/C++

Qt C++: Threaded Communication with Artema Hybrid on Linux

Communicating with an Artema Hybrid CC Payment device is actually deceptively simple. I’ve written an application what uses a webkit widget exclusively for the UI display, and so I hook into the Javascript to provide some extra functionality to the app, in this case, reading and writing to/from the Artema Hybrid device. The documentation that [...]

Tags: , , , ,

Posted in: c/C++, C/C++ Programming, Computer Science, Javascript Tutorials, Linux, OOP, Qt, Tips and Tricks, Topics, Tutorials | No Comments »

Qt C++ Screen Capture using BitBlt

So I got to thinking I wanted to be able to take abitrary screen captures based on some startx/starty -> endx/endy input. I found various sites showing how to do this, but most of them were pretty confusing. I thought I would post the final working code here. void RSystem::snap(int startx, int starty,int endx,int endy) [...]

Tags: , , ,

Posted in: c/C++, C/C++ Programming, Tips and Tricks, Topics, Tutorials | No Comments »

Qt C++ application framework evangelism

I am normally not much of an evangelist, but after working with Qt C++ on a few different apps, (my first experience was back when it was still trolltech and I was running KDE on Mandrake Linux, ahh the good ol days.) and all I can say is: This is C++? Qt is the C++ [...]

Tags: , ,

Posted in: c/C++, Qt, Topics, Tutorials | No Comments »

HowTo: C Function Pointers for a Linear Search, void star pointer trick, comparison using memcmp, string replace

Well, I was messing around in C again today, sometimes I just love C, it’s a fun language when you understand it, which I really don’t, but am beginning to grok it. Anyway, I was checking out a little tutorial on C and saw this cool little trick that I thought I would share. It’s [...]

Tags: , ,

Posted in: c/C++, Computer Science, General Computing, Topics, Tutorials | No Comments »

cmake error: could not create named generator xxx

This is a problem I had, and most of the responses on google were in the form of mailing lists, uggh. Anyway, I did this reading so you don’t have to, first thing to try: Did you spell the generator correctly? type cmake with no arguments, see if your generator is listed, if so, areĀ  [...]

Posted in: c/C++, Humor, Tutorials | 4 Comments »

New C++ library with Happy Ending

Hi, Having a problem with <insert problem in c++ here>, don’t fret, as I have written an awesome lib that will solve your problem in 1 line of code, here’s a tasty code sample: ?View Code CMyLib::MySpecialValue solved = MyLib::solveYourProblem(ProblemData); All you need to do is download my project, and use <insert obscure replacement for [...]

Posted in: c/C++, Humor, Qt | No Comments »

Powered by Wordpress. Design: Supermodne.