($("#input")[0], {
	lineNumbers: true,
	tabSize: 4,
	indentUnit: 4,
	indentWithTabs: true,
	mode: "text/x-csrc"
})

Module.print = function(x) {
	$("#output").text($("#output").text() + x + '\n');
}
Module.printErr = function(x) {
	$("#output").text($("#output").text() + x + '\n');
}

function runCode(printSource, isDebugMode) {
	$("#output").css("color", "")
	$("#output").text("")

	try {
		FS.writeFile('_a.out.c', myCodeMirror.getValue())
		c4Run('_a.out.c', printSource, isDebugMode)
