Sylvain Pion
5402050020
Include <cassert> instead of <assert.h> everywhere, for consistency.
2008-01-18 19:58:49 +00:00
Sylvain Pion
6fb5cb906b
Remove trailing white spaces and end of lines.
...
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion
b8b87ab5a5
Actually, the "// file: example_bla.cpp" lines are not needed anymore,
...
since the manual tools know it. So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion
23edc11d3b
Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
...
Using :
for i in * ; do cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +00:00
Andreas Fabri
7c35af5023
changed .C to .cpp in examples
2006-07-09 19:10:04 +00:00