Items tagged with: programming
I found this old c++ project of mine, fixed whatever problems I found, cleaned the code and comments a bit and put it on github to share with the community. It is probably my first ever project in c++ that I wrote while learning the language, so don’t be too harsh on me. It works. Solves the 3x3 sliding puzzle.
There are 8 numbered 1…8 squares in a 3 x 3 array, so that one space is empty. The squares neighboring the empty space can slide into it. By sliding the squares back and forth from the scrambled state, player should try to arrange the numbered squares from 1 to 8 starting at the top left. More details in the README file on github. Enjoy!
+---+---+---+ | 1 | 2 | 3 | +---+---+---+ | 4 | 5 | 6 | +---+---+---+ | 7 | 8 | | +---+---+---+
Figure 1: 3x3 sliding puzzle in
Ionic Article: Ionic vs Flutter: A Comparison
I don't trust #Google any longer
Now they provide #Flutter and from one day to another they stop it and create a totally new framework.
I started using ionic a while ago and I really love it. Very easy and very good documentation. And you find a lot of resources online.
#ionic #angular #fluttr #programming
C++ interactive interpreters
RCRL is a tiny engine for interactive C++ compilation and execution (implemented in just a few source files - src/rcrl) and works on any platform with any toolchain - the main focus is easy integration. It supports:http://onqtam.com/programming/2018-02-12-read-compile-run-loop-a-tiny-repl-for-cpp/
* mixing includes, type/function definitions, persistent variable definitions and statements meant only for function scope
* interacting with the host application through dll-exported symbols (after linking to it)
Cling is an interactive C++ interpreter, built on the top of LLVM and Clang libraries. Its advantages over the standard interpreters are that it has command line prompt and uses just-in-time (JIT) compiler for compilation.#linux #opensource #programming #llvm