Question : What is the character code for this Character in a HTML page.


In the below span tag is [v¿l] what is that character in the middle between the v and l?

<span class='phonetics'>[v¿l]</span> <span class="wordclass"><acronym title="verb">VERB</acronym></span>

I suggest you go check the original page out and search for this as copying it here may have changed its real code number.

http://mobile.pons.eu/dict/search/mobile-results/?l=deen&q=will

Then search for phonetics

What does this little bit do as you do not see it on the page?

Answer : What is the character code for this Character in a HTML page.

For iterators... It may look not so at the first time, but iterators are a kind of more natural.  When you solve a problem, you tend to think in terms "process all elements from...", or mathematically "for all elements in...".  The only conventional way to do that is to use a loop.  The while loop in C-family languages is too general; you have do some steps on your own.  The for loop in C-family languages is a small syntactic improvement of the while.  In other programming languages, the for loop is a counted loop.  But this also means that you have to transform an index to the indexed element.  Because of that, you often tend to put the elements into some indexed structure -- to an array or to a vector.

If you think more about it, what your really need is a kind of generalized loop that loops through all elements of a container without neccessarily preparing some numeric index.  If you personify the process, the worker says to another one "give me the next one", and not "give me the 3254th one".  This is exactly what iterators are good for.  The iterator is somehow type-bound to the container.  Then you may be not interested in internal details (whether it is indexed inside, or whether it is a linked structure).  In other words, the iterators bring more abstraction.

Unfortunately, the iterators are newer than the core of C++ and therefore there is no generalized loop and syntax to make all of this more apparent syntactically.  Once you get used to better sytax of the generalized loop (in other languages, like in Python where iterators work almost magically, hidden), you really miss that syntax in C++.  The new C++ standard is going to improve it a bit.
Random Solutions  
 
programming4us programming4us