DamianMRLY's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
13 (0.03 per day)
Joined:
27-December 12
Profile Views:
127
Last Active:
User is offline Jul 29 2013 03:47 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   DamianMRLY has not set their status

Posts I've Made

  1. In Topic: Read txtbox and put in array?

    Posted 29 Jan 2013

    Hi,

    I just must need to solve this little problem i've got here.

    I got this code

            private void btn_Click(object sender, EventArgs e)
            {
                byte[] data = File.ReadAllBytes("a.txt");
    
                int[] totals = new int[256];
    
                foreach (char b in data)
                {
                    ++totals[b];
                }
            }
    
    
    


    It gives me this:
    http://i45.tinypic.com/2nquqhi.png

    But how can i show the frequency(occurrence) of each character in a.txt also?
  2. In Topic: Read txtbox and put in array?

    Posted 28 Jan 2013

    Thanxs for the advice, just subscripted on tutplus for the course! But i won't need the full 30 days for sure:)
  3. In Topic: Read txtbox and put in array?

    Posted 28 Jan 2013

    Okey thanxs for the advise, maby in a week or two i can ask more detailed questions if i have one:)
  4. In Topic: Read txtbox and put in array?

    Posted 28 Jan 2013

    Hahah ok i will take you're advise. Can recommomend any book in particular for learning programming in C#?
  5. In Topic: Read txtbox and put in array?

    Posted 28 Jan 2013

    Well eventually i want to read an file and determine the frequenty of all bytes for my Huffman algorimth

    Well eventually i want to read an file and determine the frequenty of all bytes for my Huffman algorimth

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

DamianMRLY hasn't added any friends yet.

Comments

DamianMRLY has no profile comments yet. Why not say hello?