Visual Basic 2008 Character tallying

  • Thread starter Thread starter jazFunk
  • Start date Start date
  • Tags Tags
    Visual
AI Thread Summary
The discussion centers on creating a program that analyzes a string of names or words to count the occurrences of each letter, considering both upper and lower case. The user expresses frustration with previous attempts and seeks guidance on how to effectively implement this feature. After some trial and error, the user successfully develops the program but encounters a new challenge: converting items from a list box into a string format. The conversation highlights the importance of clear coding strategies and the need for practical solutions to programming hurdles.
jazFunk
Messages
12
Reaction score
0
I'm trying to write a program which analyzes a string consisting of multiple names/words and outputs how many of each letter occurrences there are. (including upper and lower case characters.)

i.e. string: "lafayette polk detroit"
contains: 2-a's, 3-e's, 1-i, 2-o's, etc., etc.

I'm pulling my hair out trying to figure this out. Any assistance is greatly appreciated.
 
Technology news on Phys.org
Where are you stuck?
 
Well, I've scrapped several ideas. So, at this point, I'm back to nothing but a blank form with text boxes...starting over!

I'm not the most proficient programmer, I'm not even good. I'm trying to create something to make my life at work easier.

I've tried all kinds of online code "snippets", but nothing is working to fit my needs.

Any advice on how to get started in the right direction?
 
Ok, I've got it all working now. However one question remains... How do I convert list box items to a string? The items are string values.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top