Well, editing code beyond plain formatting issues to bang a question in shape for a MCVE is always a bit of borderline action.
For example if someone posts c++ code like
int main() {
std::cout << "Hello World!" << std::endl;
}
just adding
#include <iostream>
might actually obfuscate their problem, that they simply forgot to write the #include <iostream>
statement.
Though already I did something like the above, in case of satisfying commenting nitpickers, where the question obviously didn't have anything to do with the missing #include <iostream>
statement.
Yet, such edit doesn't implicitly lead to a MCVE, since in such cases there's usually more information missing I can't simply edit in, but only the OP will know (or get to know then).
Otherwise they can be closed just straight away with the
- Questions about a problem that can no longer be reproduced or that was caused by a simple typographical error. While similar questions may be on-topic here, these are often resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the shortest program necessary to reproduce the problem before posting.
off-topic argument.
I think it's always better to ask the OP for creating a MCVE in a comment.
While they working on that, they'll even find the answer on their own, or at least learn something that's required when asking here.