#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto myVar = uc.DefineVariable("counter As Int8u = 255"); auto ptr = myVar.ValueAddr(); // Read natively as unsigned byte cout << uc.ValueAt(ptr, uc.DataTypeOf("Int8u")) << endl; // Read the exact same memory address, but interpret as signed byte cout << uc.ValueAt(ptr, uc.DataTypeOf("Int8")) << endl; }