This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint indent: 2 */ | |
(function (global) { | |
'use strict'; | |
var domready = function (callback) { | |
if (typeof callback !== 'function') { | |
throw new TypeError('callback is not a function'); | |
} | |
function loaded() { | |
callback(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void foo1(int * bar) { | |
// bar is now set to 2 outside this function | |
// scanf works in a similar way | |
// * dereferences bar, without it we would try to assign 2 to a pointer | |
*bar = 2; | |
} | |
void foo2(int bar) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdarg.h> | |
#include <stdbool.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <assert.h> | |
#include <limits.h> | |
static unsigned int graph[21][21] = {{0}}; |
NewerOlder