Test-Driven Development for Embedded C

Test Driven Development for Embedded C

TDD is a modern programming practice C developers need to know. It’s a different way to program—unit tests are written in a tight feedback loop with the production code, assuring your code does what you think. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side effect defects. You get to spend more time adding valuable features to your product.

Expert C# Business Objects

Expert C# Business Objects

This book is a translation of Lhotka’s industry-standard title, Visual Basic.NET Business Objects, into the language of C#. Rockford Lhotka’s ideas continue to be extremely influential in all programmer circles of any language, but most naturally it will be C# developers over the next couple of years at least who will most likely be involved in the kinds of programming projects and architectures that Lhotka discusses.

Number Shuffling Game

C Program: Number Shuffling Game

This C program is a simple console-based implementation of a number-shuffling game. The game presents a grid of numbers, and the objective is to rearrange them in ascending order. The player can move the numbers by pressing the corresponding number keys, and the game tracks the number of moves taken to complete the puzzle.

DirectX

Direct X and its Components

One of the main purposes of DirectX is to provide a standard way of accessing many different proprietary hardware devices. DirectX is comprised of application programming interfaces (APIs) that are grouped into two classes: The DirectX Foundation layer and The DirectX Media layer. These APIs enable programs to directly access many of your computer”s hardware devices.

Input and Output in C

Input and Output in C: Stream Functions

The standard way of handling all input and output is done with streams in C programming regardless of where input is coming from or where output is going to. This approach has definite advantages for the programmer. A library package has been evolved which is known as known as the Standard I/O Library which is used in any C program by using stdio.h header. First, however, we need to understand exactly what the terms input and output mean in context of C.

Base85 Encoding

BASE 85 Encoding VB Class

This is a BASE85 Encoding Visual Basic class that expands the text to be encoded by 4:5 i.e. uses 5 ASCII characters to represent 4 bytes with 80% accuracy. Used in Postscript and PDF documents. Useful if binary data needs to be persisted in ASCII text.

DirectX

Microsoft DirectX Programming: DirectX Components

Microsoft DirectX is a set of application programming interfaces (APIs) for multimedia-related tasks, such as gaming, video playback, and graphics rendering. DirectX provides a standardized way for software developers to access hardware resources like graphics cards, sound cards, and input devices.

Scroll to Top