we have a project in our school. we are going to create C like compiler. Our group will go going to use vb.net to make it happen. But our problem, we don't know how to read a character one at a time of every line if the user input the codes. here are some example input:

Line1: main()
Line2:

sample output

Line1: ws,ss,pp,op,ss, pp,cp
Line2:

Explanation:
ws - word symbol...