The most common example is good on c, which in theory is protable by just a recompile (not actually true of course but it's a good story).
hehehehe
+9999999
In particular, writing structures out to disk in a multiplatform compatible way is quite a spectacular pain when using C.