Is homework allowed on daniweb? I understand when people actually try to do the homework but they are stuck somewhere but I really HATE people who ask to write the code for them and when they did not show any effort.

Your personal feelings on the matter match our policies. Homework questions are fine, provided the student puts forth some effort and doesn't expect helpers to do the work. On the other side of the coin, helpers should refrain from giving away homework answers which tempts students to cheat and is counterproductive when the goal is education.

A little push is often all that's needed when it comes to providing help. My current signature embodies the attitude helpers should have: "The worst thing you can do for those you love is the things they could and should do themselves." — Abraham Lincoln