++C+=C++ + ++C;

From Esolang
Jump to navigation Jump to search

This is still a work in progress. It may be changed in the future.

++C+=C++ + ++C; is an esolang by User:FiveUnderlines. Pleas make sure you don't spell any different characters.

Description

The name of esolang looks like a classic undefined behavior in C++.In fact, it is a brainfuck dialect.

Commands

Command Operation
C Switch modes. The mode is 1 or 0.Default is 0.
+ If the mode is 0, it is equivalent to - of brainfuck, otherwise it is +.
= If the mode is 0, it is equivalent to < of brainfuck, otherwise it is >.
, If the mode is 0, it is equivalent to . of brainfuck, otherwise it is ,.
( Equivalent to brainfuck's [.
) Equivalent to brainfuck's ].
; End the program immediately.

Please make sure there is one at the end of your program ;,Otherwise,it may cause runtime errors.

Some program examples

Cat

(C,);