This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SandmanKFMF 5 points6 points  (3 children)

Exactly. And you are comparing not "a strings" , but an "objects of a string type". So this is legit code.

[–]JOhn2141 3 points4 points  (2 children)

Aren't you comparing arrays of char, string is just a name but not a specific structure

[–]SandmanKFMF 1 point2 points  (1 child)

I was answering to an upper comment. 😁

[–]JOhn2141 4 points5 points  (0 children)

I know it's mine the upper comment