5 ms·
Why not strlen("aha") + strlen("oho")?
by endgame 12y ago
Why not strlen("aha") + strlen("oho")?
- angersock 12y agoOr even: strlen("ahaoho") The C code more closely reflects what the Ruby is doing, but otherwise yes, you're correct. In C++ I could probably get it all done at compile time anyways.
- JetSpiegel 12y agoThe whole point of the code is to concatenate two C strings at runtime. That's the big problem.