Home » Community » Newbie corner » U++ questions
Re: U++ questions [message #31560 is a reply to message #31539] |
Mon, 14 March 2011 09:33   |
mr_ped
Messages: 826 Registered: November 2005 Location: Czech Republic - Praha
|
Experienced Contributor |
|
|
It's up to you how much of U++ will you use in your project.
In my console tools I did use these parts of U++ (Real world use case):
UnitTest++: for test driven development
Core+CtrlLib: for NTL containers, U++ streams, basic types (I love to use "byte", "word" and "dword" type names since my ASM years.. it's very minor thing, but it just makes my day better) and String.
Just did search the sources (out of curiosity) how much I did use NTL containers... one Vector<String> in parsing command line arguments, otherwise I use only local variables (no need for dynamic allocation in that particular tool).
Draw+Painter: to generate image for printing, convert it into 1bpp bitmap (that one I use later in my own RLE encoder to send it over serial port to thermal printer)
And some Serial.h file from forum to handle serial port communication.
Overall U++ saved me weeks of work on this project, the prototype was done in single day, then in 5 days I had complete production version (100% test coverage, documentation, relatively maintainable code base without huge hacks).
|
|
|
Goto Forum:
Current Time: Fri Jul 18 17:25:53 CEST 2025
Total time taken to generate the page: 0.03678 seconds
|