Execute Brain****/C++: Difference between revisions

Content added Content deleted
(Oops, lost the category)
m (Fixed syntax highlighting.)
 
Line 8: Line 8:
{{works with|g++|4.1.3}}
{{works with|g++|4.1.3}}
plus the GNU C++ Standard Library
plus the GNU C++ Standard Library
<lang cpp>// RCBF -- A free Brainfuck interpreter written for Rosetta Code (http://rosettacode.org)
<syntaxhighlight lang="cpp">// RCBF -- A free Brainfuck interpreter written for Rosetta Code (http://rosettacode.org)
// Created by Mike Mol and Mike Neurohr, and under the same license as Rosetta Code.
// Created by Mike Mol and Mike Neurohr, and under the same license as Rosetta Code.
// Repaired by Robert de Bath -- but Ghods is it slow!
// Repaired by Robert de Bath -- but Ghods is it slow!
Line 395: Line 395:
// We never found a close branch
// We never found a close branch
return BRANCH_NOT_FOUND;
return BRANCH_NOT_FOUND;
}</lang>
}</syntaxhighlight>