Yeah I read string, and assumed it was std::string, not realizing that this is the C forum. In c++ you can compare strings like that, but not C.
Type: Posts; User: King Mir
Yeah I read string, and assumed it was std::string, not realizing that this is the C forum. In c++ you can compare strings like that, but not C.
Like this.
numbers[i] = numbers[i] == "one" ? thumb : again;
Note that numbers cannot represent "one", because it's an array of strings. numbers[i] can.