Practical solutions

C Howtos How-To Guides

Solve the problem. Keep building. Collection of C how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

Regular Expressions in CIn this article, we'll talk about regular expressions in C. End of File (EOF) in CThe topic of expressing EOF in C will be the focus of this article. MIN and MAX Function in COne can use macros or loops to implement the MIN and MAX function in C. Difference Between Unsigned Int and Signed Int in CThe following article will explore the distinctions between signed and unsigned int in the C programming language. Dereferencing Pointer to Incomplete Type Error in CThis article explains concepts like referencing and dereferencing of pointers, what are incomplete types, and how they can be completed, solving the error of dereferencing to incomplete types, and understanding different errors that arise with different compilers. A Label Can Only Be Part of a Statement and a Declaration Is Not a StatementThis article explains the A Label Can Only Be Part of a Statement and a Declaration Is Not a Statement error because of the C language standards that a declaration cannot immediately follow a label. We resolved this by adding a semi-colon at the end of a label or adding a pair of curly braces around the case block in switch statements. Integer Division in CThis article demonstrates the behavior of integer division in C. State Machine in CThis article demonstrates the state machine and its working in C programming language. The register Keyword in CThis article explains about the register keyword in C Programming Language. File Descriptor in CThis article explains about the file descriptor in C Programming Language. The Forward Declaration and Difference Between Struct and Typedef Struct in CThis short article discusses the difference between struct and the typedef struct. It further elaborates the concept of forward declaration in C. Multiple Pipes in CThis article demonstrates the implementation of multiple pipes in C. C Segmentation FaultTrivial guide to understanding the segmentation fault in C. The restrict Keyword in CA brief discussion on the restrict keyword in C. Infinity in CA comprehensive guide about infinity in C. Bit Field in CIn this tutorial, we will learn about the bit field in C. We will start the discussion with the bit field, then the bit field storage, followed by the syntax of the bit field in C language. Lastly, we will see a bit field with different data types. C Compiler for WindowsAn article about different C compilers for Windows platform.