I have started implementing
lookup. When I try to compile my code, the terminal gives an error when I try to assign one of my variables to another variable. The error says that I am trying to assign a "read-only" variable:
server.c:632:31: error: read-only variable is not assignable identify[num] = path[letter]; ~~~~~~~~~~~~~ ^ server.c:637:31: error: read-only variable is not assignable identify[num] = '\0'; ~~~~~~~~~~~~~ ^
What does the compiler mean when it says "read-only" variable?
Here is my lookup code:
Thank you in advance.