help about homework

This is a discussion on help about homework within the C Programming forums, part of the General Programming Boards category; hi i have a homework and it is really challenging problem, i need a master to advice me something, here ...

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    10

    help about homework

    hi i have a homework and it is really challenging problem, i need a master to advice me something, here is the pdf file of homework if you have any idea how to do , please add my msn adress
    thankyou...

    ibrahim.ercan@guess-the-provider.com

    ps : i read the title about homework and my purpose is not make you do....
    Last edited by Salem; 05-19-2010 at 10:09 AM. Reason: partly restored email address :) (for tracking...)

  2. #2
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    This is not a delivery service. You post here your attempts, and we critique it and help you fix it.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    10
    sorry it has very long specifications and some character that i cant copy here:/

  4. #4
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    You don't have to post specifications here, you already posted those. What you need to post here is the program you have written in respect to this problem, what works what doesn't work, and what issues you are having.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  5. #5
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Also what you posted is an exam! Many people here will refuse to help you on that, including myself. If you needed help you should have posted here before taking the exam. An exam is a totally different story than homework and should be done individually.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    10
    you are right but there is no specific question because i couldnt do anything yet, what i want to learn is the procedure, how can i start, how i use input etc.

    by the way, sorry, my english is not very well maybe i can not explain what i think....

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    10
    Quote Originally Posted by claudiu View Post
    Also what you posted is an exam! Many people here will refuse to help you on that, including myself. If you needed help you should have posted here before taking the exam. An exam is a totally different story than homework and should be done individually.
    hmm sorry i missed that point, then you can forget about it

  8. #8
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by agathery View Post
    you are right but there is no specific question because i couldnt do anything yet, what i want to learn is the procedure, how can i start, how i use input etc.

    by the way, sorry, my english is not very well maybe i can not explain what i think....
    Start by figuring out on paper how you would solve the problem. Describe the steps you would take to get the output you want.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  9. #9
    Registered User
    Join Date
    May 2010
    Posts
    10
    ok thanks for advice

  10. #10
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    i never tire of reading these threads.

    it's why i keep coming back to these sorts of forums.

  11. #11
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by jephthah View Post
    i never tire of reading these threads.

    it's why i keep coming back to these sorts of forums.
    What do you mean?
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  12. #12
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    because it's funny watching them get shot down once they realize they aren't going to have it handed to them.

    you did a fine job, by the way.

    keep it up :-)
    Last edited by jephthah; 05-18-2010 at 07:18 PM.

  13. #13
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by jephthah View Post
    because it's funny watching them get shot down once they realize they aren't going to have it handed to them.

    you did a fine job, by the way.

    keep it up :-)
    Thanks. I have nothing against helping them but they need to get their stuff together (I am being very PG-13 here). It's one thing getting help on homework, but it's totally different posting your take home exam here. That's just ludicrous. The person could end up to be your co-worker one day.
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  14. #14
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by claudiu View Post
    Thanks. I have nothing against helping them but they need to get their stuff together (I am being very PG-13 here). It's one thing getting help on homework, but it's totally different posting your take home exam here. That's just ludicrous. The person could end up to be your co-worker one day.
    One of the things that I have loved about being a programmer is the fact that you get to think for yourself and use your brains to solve problem. Laziness of thought is one of the few things I look down on. Also I work hard for a living and when people are too lazy to think for him or her self, and just post their assignment and say "give me code to do this" just says they value my time very little. Posting the exam is a first for me though...

    It may be that there are bad instructors out there but some of the stories they use to sell their need for "urgent" help are truly ridiculous. The better programmer will try to apply themselves before begging for help.

    And as for someone being my corworker someday, I would fear for the poster of such things as their is a chance that they will be *my* coworker and I will remember this attempt to cheat or circumvent the system.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  15. #15
    Registered User jephthah's Avatar
    Join Date
    May 2010
    Location
    seattle
    Posts
    49
    All schoolwork solicitors be advised: cheaters are not tolerated here.

    the original poster, "ibrahim ercan" aka "agathery", has left a trail long and wide enough to be easily reported to the Dean of his college, as well as all Professors who teach this class. They have in fact been notified and made aware of this thread.


    Middle East Technical University
    Department of Computer Engineering

    CENG 140 Spring 2010 Take Home Exam 2

    REGULATIONS
    Due date: 24 May, 2010 Monday (Not subject to postpone)

    Team: There is no teaming up. The homework has to be done and turned in individually.
    Cheating: Source(s) and Receiver(s) will receive zero and be subject to disciplinary action.

    to all future students who attempt to cheat, plagiarize, or otherwise break your academic integrity.... we are not stupid so please don't insult our intelligence. you will probably lose.

    if not now, if not here... then sometime, somewhere.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework
    By kermi3 in forum C Programming
    Replies: 10
    Last Post: 09-27-2001, 04:49 PM
  2. Homework
    By kermi3 in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2001, 03:16 PM
  3. Homework
    By kermi3 in forum Windows Programming
    Replies: 5
    Last Post: 09-15-2001, 11:48 AM
  4. Homework
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 09-10-2001, 01:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21