Like Tree1Likes
  • 1 Post By anduril462

checking how frequent a word appear in a string

This is a discussion on checking how frequent a word appear in a string within the C Programming forums, part of the General Programming Boards category; hi, im trying to write a c-program that counts the frequency of a given word in a sentence and is ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    2

    checking how frequent a word appear in a string

    hi,
    im trying to write a c-program that counts the frequency of a given word in a sentence and is terminated by a % sign, I have tried all sorts of code and its been givin me hell...can anyone assist me plz

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,444
    Quote Originally Posted by kemar View Post
    hi,
    im trying to write a c-program that counts the frequency of a given word in a sentence and is terminated by a % sign
    Good for you.

    Seriously though, what have you tried? Read our homework policy. Give it your best shot, and if you get stuck, come back and post your code in code tags. Then ask a specific question. It would probably be good for you to read the forum guidelines too.
    AndrewHunter likes this.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    2
    ok i got it working now ill post the code as soon as i figure out dis [code] thing and thanks for the heads up..............

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 01-28-2010, 02:50 PM
  2. Frequent Job Interviewing Questions
    By Mystic_Skies in forum A Brief History of Cprogramming.com
    Replies: 46
    Last Post: 02-27-2005, 08:07 AM
  3. Word from a string...
    By reRanger in forum C++ Programming
    Replies: 7
    Last Post: 11-22-2004, 06:24 AM
  4. Pet Peeve: Frequent Formatting
    By lightatdawn in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 05-28-2002, 11:48 PM

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