Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: Algorithm.

CHECKTask 12 of 21 · step 5: Special charactersRead the error: a single \ in a path
Read the error: a single \ in a path in practice/01/

In the path write C:\course instead of C:\\course and click ▶. Why is \c an error, while C:\new would give none?

Details & hint
C:/.../practice/01/main.c:15:53: error: unknown escape sequence: '\c' [-Werror]
   15 |     printf("File: C:\course\\practice\\01\\main.c\n");
      |                                                     ^

Stuck? \c is not an escape sequence, so GCC complains. But \n is one: C:\new would print C:, and ew on the next line, with no error at all. In a path always write \\.

practice 01 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p01_hello main.c)