Homework is for learning...
I assume you've read the board guidelines:
Quote:
The purpose of these board is not for other people to do your homework for you.
As long as you don't simply submit the entire homework question, or post a question that seems like you want someone to do all of the work for you, you should be OK. If you don't have any code because you don't know what to do, it would be OK to post the assigment and ask "How do I get started?"
Homework is for learning, exercise, and practice. It is better to get help, than to turn-in something that is incorrect or incomplete. Some high school teachers may discourage "working together" on homework. In college, it is generally encouraged... often highly encouraged! For school, the important thing is that you learn the homework assignment well enough to get the answer/solution on your own when you get a similar problem on a quizz or test!
In my (technical) college classes, homework wasn't given much weight. About half of the time it wasn't even collected. (Attendance was almost never taken either.) Most lectures started-out with "Are there any questions about the homework?" The instructor/professor would work-through any problems requested by any student.