Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
futz said:I keep needing things like abs().
int abs(int n) {
return n > 0 ? n : -n;
}
I was starting to get that idea anyway, judging by the posts on SourceBoost's forums. Shouldn't be that hard to write one anyway.Torben said: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.
Good idea. I have almost nothing but Linux. There's windoze on only a few of my too many computers.Or maybe you could copy some of the headers and libs from libc (do you have Linux?).
Thank you Torben for the abs()!Torben said:Code:int abs(int n) { return n > 0 ? n : -n; }