From ede584d18ecd057b5715de5ed047671e20523a2e Mon Sep 17 00:00:00 2001 From: zlg Date: Sun, 3 Aug 2014 00:21:27 -0500 Subject: Ensure 1-02's solution compiles I'm preparing for build automation, so everything needs to build --- ch1/1-02_escape-sequences.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3-54-g00ecf