The czech library for C (and C++). Why? Because we could, of course! But this fork make it really usable for coding and usaable for learning.
Please contribute your other sane translations. This is cherrypicking from the original sources, so that we can write a fully czech code.
This project resides solely in a single header file, aptly named czech.h
.
Download that file alone, or along this whole repository, and then, after
including it in your source files like you would with any other header, you
will be fully set up! (Just make sure you use relatively modern compiler)
We have this project tested and probably working with Clang, but newer versions of gcc are also known to work, as well as some other compilers.
For testing, we also provide C to Č and reverse transpiler in the file
translate.py
. Launch it with ./translate.py to czech.h path/to/your/C/file.c path/to/new/Č/file.č
#include "czech.h"
#include <stdio.h>
clč hlavní(nic)
{
položř("Ahoj, světe!");
navrať 0;
}