Homework questions are welcomed here, but they are still held to the same expectations as
all other questions.
In particular, homework questions should contain correct code, and the goal of the question
should be to improve the code, not to fix or complete it.
Any questions regarding broken or otherwise non-working code are off topic for this site.
An example of a valid homework question:
I wrote the following code to parse student records from a pipe separated file. It currently
works, but I have a feeling that there is a better, more C++ idiomatic, way to accomplish this.
An example of an off-topic homework question:
I have to write a program for class that takes a pipe separated file, parses it into Student objects and
outputs some information. For some reason, the surnames are not printing out correctly.
(Note that I'm by no means saying this is perfect. I'm suggesting it as a starting point, not as final content.)
I don't think the homework tag particularly has a place at CodeReview. Homework questions are fine, but they are no different from non-homework questions.
The tag basically has no purpose other than searching/discriminating. Tags should be meaningful. They should be specific about the content of a question. When I look at a tag, I expect to go "Oh, I now better understand what is in this question." When I see a homework tag, I can guess a few things about the question, but it does not establish anything factual.
homework, a better option may be to break down the potential meaning of
homework into more specific tags like
beginner and so on.