How can I assign a div_t value i found using the div function (with 2 integers) to a integer? For example:
Wont work. How can i make it work? Thanks!Code:int r; div_t d; d = div(10, 3); r = d;
How can I assign a div_t value i found using the div function (with 2 integers) to a integer? For example:
Wont work. How can i make it work? Thanks!Code:int r; div_t d; d = div(10, 3); r = d;