I am having a little trouble knowing how to proceed on the site. When my questions were math-based I had less trouble, but now that I have moved to programming questions I have run into problems.
My questions are:
Suppose I had a programming-related question and suppose that the complete code for the program that I am working on is quite long, but that the problem lies only in a small part of the code. Should I post all of the code I have so that potential answerers can understand how the program works? (Or doesn't work...)
Also, I believe I had been directed previously to post my programming questions on Stack Overflow, but now that I tried using it on my PC I noticed that when I came to ask a question, the question box did not have an editor like the one here. How should I enter the relevant code then?