How can I assign a div_t value i found using the div function (with 2 integers) to a integer? For example:
Code:
int r;
div_t d;

d = div(10, 3);
r = d;
Wont work. How can i make it work? Thanks!