Thread: homework finalising help.....

  1. #31
    Registered User
    Join Date
    Mar 2011
    Baltimore Md. USA
    It isnt meant to replace docs and books. But for someone who doesnt have a helpful teacher it can give some basic help.

  2. #32
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    London, United Kingdom
    So let me get this straight, you can't figure out one homework and after wasting our time here you decided to quit. Well, good luck in your future endeavours, this kind of behaviour will not get you too far, regardless of your career choice.
    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. #33
    Join Date
    Aug 2010
    Ontario Canada
    Quote Originally Posted by Hugeknight View Post
    i seriously dont know tater but but the programming subject im doing isnt even a standalone subject so maybe that explains that?
    Tell you what... I saw your note about switching majors... however, if the impression I'm getting is even 25% right... you need to switch SCHOOLS, not majors.

    Lots of people learn C as part of other courses... the basics take about 3 weeks with homework... schools have been doing it for nearly 30 years... There is simply no excuse for a school to teach garbage "pseudocode" instead... It sabotages you for actual programming tasks later on...

    (Yes, programmers sometimes us pseudocode in solving complex problems... but there's not one of us under any illusion of it actually compiling or working until it's translated into an actual programming language...)
    Last edited by CommonTater; 05-12-2011 at 11:20 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework help.
    By PoJo7467 in forum C Programming
    Replies: 7
    Last Post: 11-30-2009, 12:19 PM
  2. Need help on my homework
    By mejv3 in forum C++ Programming
    Replies: 15
    Last Post: 10-11-2005, 03:43 PM
  3. homework help
    By computerjunkie5 in forum C++ Programming
    Replies: 13
    Last Post: 10-27-2003, 11:54 AM