The upvote/downvote arrows are now invisible here. Do we really need to try to get fancy?
nextnextstep
u/nextnextstep
40
about why your program doesn't work, you've got to include SOURCE CODE. You know, the kind we can download, or paste into an empty project, and click "Run". Otherwise we're just guessing.
A screenshot is not source code. Some pseudocode with "...then do stuff..." in the middle is not source code. A photograph of your laptop (frighteningly common here) is not source code. I can't run a photograph.
StackOverflow has a great overview of how to do this: https://stackoverflow.com/help/minimal-reproducible-example
Every &#*@!(ing day I see people here ask "Why doesn't my program work?" but don't supply the program. We don't know. We can't know.
Have you tried the debugger?
226
You've reached the end of this feed.