Code snippets

From C

Jump to: navigation, search

Opaque Type or at http://ideone.com

Object Representation or at http://ideone.com

Allocating the Biggest Buffer or at http://ideone.com

IncrementScope or at http://ideone.com

rstrip Function or at http://ideone.com

_Generic Copier or at http://ideone.com

Scan and ignore spaces or at http://ideone.com

hexdump Function or at http://ideone.com

sizeof a VLA or at http://ideone.com

Compatible Array and Function Types or at http://ideone.com

Reading Words from a Line or at http://ideone.com

Array Decay or at http://ideone.com

pfxalloc Function or at http://ideone.com

Reverse Decimal Digits or at http://ideone.com

Variable Rows and Columns or at http://ideone.com

tostring Implementation or at http://ideone.com

getbits Function or at http://ideone.com

Pre-C99 Non-constant Initialization of Aggregates or at http://ideone.com

sizeof and malloc or at http://ideone.com

Struct tags and typedefs or at http://ideone.com

Linkage or at http://ideone.com

A use for realloc or at http://ideone.com

Passing a Function to Itself or at http://ideone.com

Initial Jump-in or at http://ideone.com

Sample Font (nested structs) or at http://ideone.com

Multi-Dimensional Array Simulator or at http://ideone.com

Counting Arguments in C99 or at http://ideone.com

Printing Bits or at http://ideone.com

Portable memmove or at http://ideone.com

Run-Once Function or at http://ideone.com

Tags and Typedefs or at http://ideone.com

Personal tools