Welcome, Guest. Please login or register.

Author Topic: My C homework  (Read 16051 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline mgerics

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Mel's C homework
« on: February 24, 2007, 12:12:04 PM »
Sonds like an algorithm! Be careful at the end of file, though - treat end of filelike a non-whitespace so the algorithm will count the last word:
e.g. <> represents a whitespace, (eof) is end of file
...<>last<>word(eof) <- treat eof like a non-whitepsace so 'word' gets counted...
...<>last<>word<>(eof) <- the last whitepsace will count 'word'
Have fun programming.
 

Offline mgerics

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Mel's C homework
« Reply #1 on: February 28, 2007, 11:22:11 AM »
Link to fre books on c and the like:
http://www.computer-books.us/c.php
 

Offline mgerics

  • Sr. Member
  • ****
  • Join Date: Jun 2002
  • Posts: 294
    • Show all replies
Re: Mel's C homework
« Reply #2 on: March 07, 2007, 12:20:34 PM »
All right, I've figured it out - Mel Zoom is NOT a woman! HE is a lazy young brat who wants the 'cool' aspect of being able to program a computer, but is too lazy to do it HIMSELF. HE is taking code found on the web and plagiarizing it and taking advantage of the people on Amiga.org by asking for help with HIS 'pet' project!

Admit it, Mel! You found that avatar, who must be a local model from your home town, and decided 'those nerdy geeks at a.org will fall in love with this person and give me all sorts of free advice..'



Um, you know I'm just kidding, right? Best of luck in your endeavors. Makes me want to get back to C coding and delete Visual Basic from my computer.