Peer-reviewed code snippets that anyone can edit
follow refactory on twitter
blog
feedback
A wiki for useful code snippets
Bugs? Suggestions?
38-107-191-111
create/login
options
RECENT
STUBS/REQUESTS
STARRED
ACTIVITY
ADD
recent in
cpp
cpp
abstractdatatype
linkedlist
template
nickdmax
Template Linked List With Iterators
permalink
related
edit
fork
history
bash
c
cpp
newline
csource
subdirectories
bzimage
add a new line at end of a text file in every C source
permalink
related
edit
fork
c
cpp
bash
symbol
header
c
subdirectories
bzimage
find C symbols recursively into all subdirs
permalink
related
edit
fork
cpp
debugging
hex
nickdmax
Hex File Dump (HexDump)
permalink
related
edit
fork
history
cpp
conversion
strings
Jacinto
String conversion in C++
permalink
related
edit
fork
history
cpp
controller
159-153-142-61
update controllers
permalink
related
edit
fork
history
cpp
cout
helloworld
iostream
MarkTraceur
Hello world in C++
permalink
related
edit
fork
history
cpp
singleton
Mononofu
Simple singleton
permalink
related
edit
fork
history
cpp
class
function
object
MarkTraceur
"Car" class--simple example of Object Oriented Programming
permalink
related
edit
fork
history
public snippets
This is a community-maintained collection of reusable code snippets.
Contribute something
without logging in, or improve existing contributions. All code is dedicated to the public domain unless otherwise specified.
stats
/
top contributers
Languages
highlight
sort:
alpha
/
pop
show:
top
/
all
cpp
c
+
bash
+
4d
+
actionscript
+
actionscript3
+
apl
+
assembly
+
awk
+
bash
+
bat
+
batch
+
brainfuck
+
c
+
cake
+
cakephp
+
cmd
+
cocoa
+
commonlisp
+
cpp
-
csharp
+
css
+
curl
+
delphi
+
ecmascript
+
ecmascript5
+
elisp
+
erlang
+
fortran
+
haskell
+
html
+
java
+
javascript
+
javascript16
+
javascript17
+
javascript18
+
jquery
+
js
+
ksh
+
linux
+
lisp
+
lua
+
modula-3
+
mysql
+
net
+
obj-c
+
octave
+
perl
+
php
+
php4
+
php5
+
powershell
+
propel
+
python
+
r
+
rebol
+
regexp
+
ruby
+
scheme
+
sed
+
sh
+
shell
+
smalltalk
+
svn
+
svn15
+
swing
+
symfony
+
symfony12
+
tcl
+
uikit
+
vala
+
vb
+
vb60
+
vba
+
vbscript
+
vim
+
visualbasic
+
z80
+
Keywords
highlight
sort:
alpha
/
pop
show:
top
/
all
abstractdatatype
+
c
+
class
+
controller
+
conversion
+
cout
+
csource
+
debugging
+
function
+
header
+
helloworld
+
hex
+
iostream
+
linkedlist
+
newline
+
object
+
singleton
+
strings
+
subdirectories
+
symbol
+
template
+