Never tried BoostC but from what I find with Google (mostly old forum posts) it looks like it might be a roll-your-own situation. Or maybe you could copy some of the headers and libs from libc (do you have Linux?).
Code:
int abs(int n) {
return n > 0 ? n : -n;
}
Torben
[Edit: You can browse the libc code here: **broken link removed** ]
Thank you Torben for the abs()! I should have known it would be that simple. My Bresenham line routine now works perfect. Building some nice demos for the site.