Name:
Location: BW, Germany

I'm a timber technician (joiner/carpenter) doing end user service, software testing and tech doc writing. Our company produces software for woodworking companies (CAD/CAM/CRM). All products work on top of Win32 operating systems as well as on top of Mac OS. On my private machines I use Linux since 1998. Further interests include all kinds of electronic instruments.

Monday, May 16, 2005

First steps in C++

A friend has politey written a wee small Qt application for me to get me started. I improved it so it now requests and loads a binary file from the hard drive when pressing a button. Pressing an other button writes the hex code of the data to stderr.

I already know that I will be interested in multithreading as soon as possible. When writing the data to stderr one can already see the GUI to freeze for a short time - and the data has only been 34KB :) .

I wonder that it was that difficult to load binary data. I guessed that for a computer it should be very simple to handle it. But no, various data types are represented by a different amount of bytes on different platforms/architectures. Furthermore, you need to know that if you load binary data into a string object the machine will convert bytes that look like row endings. Urgh.

0 Comments:

Post a Comment

<< Home