In this tutorial we will learn how to create a calculator in WebAssembly. If you arenβt aware of WebAssembly then you can learn hereΒ . First letβs write our C program. // calculator.cpp #include<stdio.h> extern “C” { double calculate(double num1, double num2, int operation) { double result = 0; switch(operation) { case 1 : result = …
Continue reading “WebAssembly Part 2Β : Writing our first calculator program”