Hacker News new | past | comments | ask | show | jobs | submit login

It isn't so much that you ridicule the programmer; it's a question of telling the programmer "don't use these things that you see mentioned in old books, we have replacements for them now."

So, yes, comparing char*s is very different than calling strcmp; and if you want to use "==" to compare strings (so you don't have to remember to call strcmp), then use std::string.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: