-
error dont know
what the meaning of the error below:
assign1.c: In function `main':
assign1.c:227: invalid lvalue in assignment
i dont know what to do!
-
C > C++ duders
x + y - 10 = z;
^^ that's a bad lvalue. with assignment expressions in the form x = y, x has to resolve to a single variable address. you can't do fancy math on that side.
-
Confused
Post that line (227) and we can help you spot the error (unless you figured it out already).
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Popular pages
Recent additions