User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Anyone really good with Microsoft Visual Basic? Page [1]  
dcwalton
Veteran
282 Posts
user info
edit post

I am having some trouble with my hw for ie110...

3/16/2007 3:52:40 PM

tdwhitlo
All American
1347 Posts
user info
edit post

i took basic like 6 yrs ago - 5.0, i could help if its like 5.0

3/16/2007 5:22:18 PM

dcwalton
Veteran
282 Posts
user info
edit post

i am trying to write a program that can tell how many words are in a sentence and then tell how many times the letters a, e , i , o , u appear in the sentences

3/16/2007 7:42:28 PM

rudeboy
All American
3049 Posts
user info
edit post

google "vb count words in string" it should give you an example

3/16/2007 8:23:19 PM

tdwhitlo
All American
1347 Posts
user info
edit post

heres an example of word count:
http://www.nickhodge.com/mn8/article/554/

and the vowels:
http://www.freevbcode.com/ShowCode.asp?ID=605


I don't know how far you are in VB but this may be a little too complicated, I dunno, I took it in high school, and we didnt get into this until late in the semester

3/16/2007 8:24:08 PM

joe_schmoe
All American
18758 Posts
user info
edit post

do you have to use VB?

i'd use Perl if i wanted to do this for real.


while ( <> ) {
@words = split(/\W+/);
$count += @words;
}


done.







[Edited on March 17, 2007 at 5:26 PM. Reason : stupid smiley faces]

3/17/2007 5:24:12 PM

 Message Boards » Study Hall » Anyone really good with Microsoft Visual Basic? Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.