Thanks for this. Been coding for many years, but always come back here to refresh my memory. And I did buy your book too. Just that this is easier to search.
3 Mar 2010 - 9:55am by Anonymous (not verified)
Process doesnt work for my program!
5 Mar 2010 - 1:29pm by Jone (not verified)
Thanx...
6 Mar 2010 - 6:08am by Ollie (not verified)
Do you have to import anything for this to work?
18 Mar 2010 - 5:16am by Anonymous (not verified)
I'm not familiar with this site but I think anything with italic blue text (infilename and process(str)" is meant to be pseudocode, aka replaced with the actual code for your specific needs.
The "process(str)" is basically pseudocode for whatever you want to do with the incoming text; literally it means "here is where you process the string.
Replace "process(str);" with something like "vector.add(str);" or "array[x] = str;", basically customize it to your needs.
good example.
It is really nice that I knew buffered reader.
Simple and good example.
I need more help with this.
thanks exactly what i needed
Thanks for this. Been coding for many years, but always come back here to refresh my memory. And I did buy your book too. Just that this is easier to search.
Process doesnt work for my program!
Thanx...
Do you have to import anything for this to work?
I'm not familiar with this site but I think anything with italic blue text (infilename and process(str)" is meant to be pseudocode, aka replaced with the actual code for your specific needs.
The "process(str)" is basically pseudocode for whatever you want to do with the incoming text; literally it means "here is where you process the string.
Replace "process(str);" with something like "vector.add(str);" or "array[x] = str;", basically customize it to your needs.
Hope this helps.