diff options
author | zlg <zlg@zlg.space> | 2014-08-03 00:21:27 -0500 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2014-08-03 00:21:27 -0500 |
commit | ede584d18ecd057b5715de5ed047671e20523a2e (patch) | |
tree | b4966df0bbd714abebf5e77a826de3e9547613d2 | |
parent | Solve Exercise 5-17: field sorting (diff) | |
download | knr-ede584d18ecd057b5715de5ed047671e20523a2e.tar.gz knr-ede584d18ecd057b5715de5ed047671e20523a2e.tar.bz2 knr-ede584d18ecd057b5715de5ed047671e20523a2e.tar.xz knr-ede584d18ecd057b5715de5ed047671e20523a2e.zip |
Ensure 1-02's solution compiles
I'm preparing for build automation, so everything needs to build
-rw-r--r-- | ch1/1-02_escape-sequences.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ch1/1-02_escape-sequences.c b/ch1/1-02_escape-sequences.c index 8d122e0..bf9e8ca 100644 --- a/ch1/1-02_escape-sequences.c +++ b/ch1/1-02_escape-sequences.c @@ -10,6 +10,9 @@ */ int main(void) { - printf("Hello world! \d\n"); + /* Uncomment the next line for an invalid escape character! */ + /*printf("Hello world! \d\n");*/ + /* Compare with a valid one: */ + printf("Hello world! \t\n"); return 0; } |