Inhaltsverzeichnis
C Programming Language
Documentation
Libraries
Examples & Solutions
Effectively initializing arrays
Type Cast
Converting integers to strings and vice versa
Arithmetic
Bit Manipulation
Design Patterns
Pitfalls
Frequently Asked Questions
Linting Issues
Test & Verification
Development Tools
C Programming Language
C (programming language)
/
C (Programmiersprache)
History
The Development of the C Language
Documentation
C Manuals & User Guides
C Reference & Standards
C Tutorials
C Coding Guidelines
Libraries
C Language Library Reference
C Library
– Online reference for the
Standard C Library
https://www.tutorialspoint.com/c_standard_library/index.htm
The C Library Reference Guide
GNU Scientific Library
C Standard Library Reference Tutorial
Übersicht über die C Standard-Bibliothek
– (nach Kernighan/Ritchie: Programmieren in C, 2. Ausgabe, Anhang B)
Integers (The GNU C Library)
1)
Examples & Solutions
Effectively initializing arrays
http://stackoverflow.com/questions/13477281/initializing-an-array-of-ints
http://stackoverflow.com/questions/201101/how-to-initialize-an-array-in-c
Type Cast
http://www.convertdatatypes.com/Language-C.html
2)
Converting integers to strings and vice versa
Where is the itoa function in Linux?
Converting an int Into a String avoiding itoa (NOT ANSI C)
Arithmetic
Is one's complement a real-world issue, or just a historical one?
Unary minus and signed-to-unsigned conversion
In C, how to get calculate the negative of an unsigned quantity
Two's complement
Why is abs(0x80000000) == 0x80000000?
C: unary minus operator behavior with unsigned operands
Unsigned Integer to BCD conversion?
3)
Counting Leading Zeros (CLZ)
What is the fastest/most efficient way to find the highest set bit (msb) in an integer in C?
Fast, Deterministic, and Portable Counting Leading Zeros
Bit Manipulation
Bit manipulation
Bit manipulation basics
The Bit Twiddler
Bit Twiddling Hacks
Bitmanipulation
Design Patterns
Timer
Finite State Machines
The Aggregate Magic Algorithms
Pitfalls
A tutorial on signed and unsigned integers
Signed versus unsigned integers
comp.lang.c FAQ list · Question 3.19 What's the difference between the “unsigned preserving” and “value preserving” rules?
What happens if I assign a negative value to an unsigned variable?
A “C” Test: The 0x10 Best Questions for Would-be Embedded Programmers
– A step-by-step guide through one of the most popular recruitment tools for embedded programmers.
Frequently Asked Questions
How to declare function pointer in header and c-file?
How do I use extern to share variables between source files?
Cygwin: How to actually use gcc-mingw
What is the correct integer size
Linting Issues
Using PC-Lint in a Linux Environment
How do I suppress PC-Lint errors for C99-style initialization of structure members?
Unary Minus
C: unary minus operator behavior with unsigned operands
In C, how to get calculate the negative of an unsigned quantity
unary minus for 0x80000000 (signed and unsigned)
Forbid -(unsigned integer)
Do not apply unary minus to operands of unsigned type
Signed and Unsigned Integers
What happens if I assign a negative value to an unsigned variable?
A tutorial on signed and unsigned integers
When will an unsigned int variable becomes negative
Test & Verification
Static Source Code Analysis (Linting)
Unit Test
Development Tools
Source Code Beautifier (Pretty Printer)
Eclipse - Integrated Development Environment (IDE)
Embedded Toolbox: Source Code Whitespace Cleanup
1)
https://web.archive.org/web/20240120083133/https://www.gnu.org/software/libc/manual/html_node/Integers.html
2)
https://web.archive.org/web/20190523124920/http://www.convertdatatypes.com/Language-C.html
3)
https://web.archive.org/web/20200526131603/https://stackoverflow.com/questions/1408361/unsigned-integer-to-bcd-conversion