r/code • u/Substantial-Plenty31 • Apr 26 '25
Help Please What's the error here? Please help
It's my brother's project i don't know much about coding
4
Upvotes
r/code • u/Substantial-Plenty31 • Apr 26 '25
It's my brother's project i don't know much about coding
2
u/one_in_eightbillion Noobie Apr 26 '25
i think escape sequences (the \t in your code) only work inside quotes. also you missed a '+' before the second string in both lines.
1
u/OddCall2309 Apr 26 '25
Try using the \t\t inside the " "
1
u/thegr8northern Apr 26 '25
Just use chat gpt
1
u/GoFlight16 Apr 26 '25
Escape characters can only be used within string literals
1
u/Hungry_Importance918 Apr 29 '25
name"\t\subject:" And your command is not very standard. Of course, this may be debug code, but coding habits are also important.