4 ms·
So far I've only read the Preface and part of Chapter 1. What bugs me is this: > * Write portable code that runs on all platforms. Ok, good plan. > * An oper
by doodpants 11y ago
So far I've only read the Preface and part of Chapter 1. What bugs me is this:
> * Write portable code that runs on all platforms.
Ok, good plan.
> * An operating system you are comfortable with. Linux will give you the best results. OS/X [sic] and Windows are usable if you have no choice.
So... results vary by platform? And then after the "hello world" example:
> And you should see that familiar Hello, World printed on your console. If you are using OS/X [sic] or Windows, it won't be this easy. I'll repeat my advice to install Linux.
Funny, this example works just fine for me on OS X. You do realize OS X is a Unix-like system, right?
> Having said that, remember this rule:
> Linux is the native environment for C development.
Gee, I wonder how people like Dennis Ritchie ever managed to write C code before Linux came along?