NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_ldiv.nxc

This is an example of how to use the ldiv function.

task main()
{
long x, y;
x = 314564;
y = 33;
ldiv_t r;
r = ldiv(x, y);
}