Ask any questions about C, even if they’re unrelated to Learn C The Hard Way.
The Simple Rules For Getting Help
You are free to ask for help on any programming topic, and to collaborate with anyone here. However, one thing you’ll need to learn is how to solve problems on your own before you ask for help. To that end, here are your requirements when asking for help in the forums:
- POST YOUR CODE. This is a safe place to make mistakes so it’s alright to have the most disgusting code on the planet. Showing your code helps other people help you quicker, so your code should be the very first thing you put in your posts.
- SAY WHAT YOU’VE TRIED. You can’t just hit a problem and then stop and run to the forums for help. In most programming settings people like that are annoying and don’t get help. You have to do some work yourself first to try to figure it out. Right after your code list all the things you’ve tried to solve.
- PRINT OUT VARIABLES. The very top thing you must try before you ask for help is printing out variables at key points in your code to find out what’s going on. You can’t figure out what is wrong with your code by just staring at it.
- GOOGLE SYNTAX ERRORS. If the error is a syntax error then you can’t print variables to solve it, but you must google for the error first. After that check all the lines above the line mentioned before you post your error.
- LIST WHAT YOU THINK ARE THE CAUSES. Your guesses can be nothing but “Green goblins are destroying my GPU.” But, you have to write out some list of what you think might be going on. They can be all wrong, but doing this will possibly help you figure it out.
- EMAIL YOURSELF A DESCRIPTION OF YOUR PROBLEM. Believe it or not, this works like crazy to help you solve a problem. So many times people post a request for help, and then right away post, “Oh hey I figured it out.” Why not skip ahead and just write yourself a little description of the problem with the above steps completed and see if you get an idea. Trust me, this works.
Don’t take this list as a way to discourage you from asking for help. This is only a list of things you must do before you ask for help with your code so that you get better at solving these problems on your own.