omg...it worked... explain me this, cause i've not understood, break will break the condition of if, and will pass to next m=m/10? or it will break the do while and goes to do the m=m-1; and the do while again?
omg...it worked... explain me this, cause i've not understood, break will break the condition of if, and will pass to next m=m/10? or it will break the do while and goes to do the m=m-1; and the do while again?
ah, ok...is to terminate and exit a loop...thks.
Anyone knows how to do a simple Run Lenght Encoding program?
Why not start here? http://en.wikipedia.org/wiki/Run-length_encoding
(And next time start a new thread, perhaps.)
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.