3 ms·
Isn't one of the supposed advantages of C that it works on many platforms?
by xigoi 4y ago
Isn't one of the supposed advantages of C that it works on many platforms?
- iasay 4y agoThe last 40 odd years have proven that it does work but what you write isn’t portable.
- iainmerrick 4y agoThat’s not the case, if you take a bit of care. Look at STB for example (https://github.com/nothings/stb https://github.com/nothings/stb) -- I’ve successfully used STB functions on a bunch of different platforms. In both C and C++, even!
- iasay 4y agoAh yes the “if you take a bit of care” argument. Welcome to the 1% of C programmers club :)