Thread: ascii frequency array

  1. #1
    Registered User
    Join Date
    Feb 2003

    ascii frequency array

    i wanna go through a file and increment each character with its ascii equivelent while going thru it

    while (!File.eof())
    any help?

    edit: nmevermind...alittle using of the brain figured it out

    ascii[(int) ch]++;
    Last edited by Jamsan; 03-26-2003 at 11:57 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Have problems with copying my array!
    By AvaGodess in forum C Programming
    Replies: 11
    Last Post: 09-25-2008, 12:56 AM
  2. Replies: 11
    Last Post: 03-24-2006, 11:26 AM
  3. Template Array Class
    By hpy_gilmore8 in forum C++ Programming
    Replies: 15
    Last Post: 04-11-2004, 11:15 PM
  4. two dimensional dynamic array?
    By ichijoji in forum C++ Programming
    Replies: 6
    Last Post: 04-14-2003, 04:27 PM
  5. Sort indexes of frequency array?
    By davidol in forum C++ Programming
    Replies: 2
    Last Post: 06-03-2002, 09:04 AM