Skip to content

Instantly share code, notes, and snippets.

View MartinMelikMerkumians's full-sized avatar

Martin Melik-Merkumians MartinMelikMerkumians

View GitHub Profile
@MartinMelikMerkumians
MartinMelikMerkumians / sample-google.c
Created October 24, 2016 19:28 — forked from davidzchen/sample-google.c
Sample C code using the Google C++ style guide
// Sample file using the Google C++ coding standard.
//
// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
//
// General rules:
// - Indents are two spaces. No tabs should be used anywhere.
// - Each line must be at most 80 characters long.
// - Comments can be // or /* but // is most commonly used.
// - File names should be lower_case.c or lower-case.c
//