Yeah, you tell it what you want and it gives you something, then you tell it how that's not good enough and it gives you another thing, and you repeat until you have something that works for you (but, as the author notes, is hardly a real product that could be maintained and shipped to real customers.)
The input is undefined char*, and that's the magic of it. It's kinda funny we're reaching the phase where some people throw Syntax Error on a missing colon, but AI be like "I want sfssfsfsffsfs" "ayyy got you covered". How the tables have turned.
Copilot anticipating based off what you’re typing? An explicit prompt about what you want?