📜 ⬆️ ⬇️

A simple calculator on the "boyars" dialect of MSVC ++

The following code is inspired by this cool topic with “boyar” defaults of C ++ keywords. We creatively added to the set, and we got the following program text:

// .cpp : Defines the entry point for the console application.
//

// , :)
#include "stdafx.h"
#include <iostream>

1

ѣ

ѣѣ .

" , !" 1
ѣ 1

ѣ 1


ѣ (ѣ _, [])

, , ѣ 1
1


" , : " 1
1

ѣѣ ѣ ѣ 1

" , : " 1
1

ѣѣ ѣ ѣ 1

ѣѣ 'q' ѣ 1

" , : " 1
1

ѣѣ ѣ ѣ 1



'+'
ѣ 1
ѣ 1
'-'
ѣ ѣ 1
ѣ 1
'*'
ѣ __ 1
ѣ 1
'/'
ѣ __ 1
ѣ 1


"ѣ : " 1
ѣ _ 1


() 1

ѣ 1



* This source code was highlighted with Source Code Highlighter .


Something like that, yes.

PS
I almost forgot to attach the solution with the project. Here it is. Enjoy and share your creative :)

')

Source: https://habr.com/ru/post/41561/


All Articles