using getline function to parse a string in c++
How do I iterate over the words of a string?
I have a card with a due date of today. The task is complete, and we've moved it to our "Done" list.  How can I update the card so that the due date icon is not red implying that it is late while retaining the date for historical reference? "Authoring" versus "Writing" String.split() *not* on regular expression? I'd like to know how I can recursively (edit: iteratively) compute variance, so that I may calculate the standard deviation of a very large dataset in javascript. The input is a sorted array of positive integers. What is a good general document size for web page mockups and prototypes? I do mockups and prototypes of sites and designs all the time, but I've always wondered if there is a standard size or width I should be using. Generally I'll make my document either 1024, 1200, or 2560px wide, depending on what I'm doing.  So what do you think? What is a good or standard size for this? Is a continuous function on a bounded set bounded itself? If $f\colon A\to\mathbb R$ is continuous and $A$ is a bounded set, does it necessarily follow that $f$ is bounded? Smooth rendering of bitmap fonts Local BLAST Copy Number per Hit I generated a series of local BLAST databases using makeblastdb of metagenomic data and am searching for the presence of a particular gene. While I can do the normal BLAST analysis looking at e-values, % identity, etc. I haven't been able to figure out how to determine how many times a given sequence exists in the database.  So: given a BLAST database of metagenomic data where a particular gene may exist multiple times, how do I determine the copy number of a given BLAST hit?  Thanks in advance. Children’s books, one in space setting, the other in a jungle I understand that if a particle approaches a finite potential barrier of height $V_0$ with energy $E &lt; V_0$, there is still a finite probability of finding the particle on the other side of the barrier due to quantum tunneling.  My question is, since the wavefunction is nonzero inside the barrier region, is it possible to actually make a position measurement and locate a particle inside the barrier?  I mean, if we can say that "there is a nonzero probability that the particle is inside the barrier", surely this would suggest we can do so?  If not, why not? Am I understanding the whole wavefunction/probability distribution thing right? What do the nomodeset, quiet and splash kernel parameters mean? What do Kernel command line parameters (also also known as boot options) mean?  When you go to Ubuntu (or better, GRUB) options, you have things like nomodeset, quiet and splash. What do these options mean?  I am also interested in other parameters and would be interested to see descriptions of any kernel parameter (like acpi), but these are not essential. Bad match with a gaming group, how to leave? I have sometimes joined groups whose play style didn't work for me. At some point it became clear that as much as I wanted to enjoy the game I couldn't. And I was probably undermining the fun at the table for others too.  What is the best way to leave the group? Quietly or with a few explanations? Announce it in person or by email/phone/forum? Is it OK to recruit players from the group for another game? An awful identity We take place on $\mathbb C(x_1,...,x_r,x'_1,...,x'_p,u_0,...,u_r,u'_0,...,u'_p)$ with $r,p\in \mathbb N$     Show that :   $$\displaystyle{\sum_{i=1}^r \left(   \frac{\prod_{j=0}^r (u_j-x_i) \prod_{j=1}^p (x'_j-x_i) }{  \prod_{1\leq j\leq r, j\neq i     }(x_j-x_i) \prod_{j=0}^p (u'_j-x_i)}      \right)}-\displaystyle{\sum_{i=0}^p \left(   \frac{\prod_{j=0}^r (u'_i-u_j) \prod_{j=1}^p (u'_i-x'_j) }{  \prod_{0\leq j\leq p, j\neq i     }(u'_i-u'_j) \prod_{j=1}^r (u'_i-x_j)}      \right)}=\displaystyle{\sum_{i=1}^p x'_i +\sum_{i=0}^r u_i -\sum_{i=1}^r x_i-\sum_{i=0}^p u'_i}$$   I have seen this exercise in an old book at the library. Unfortunately there was no indication how can I solve the problem.   Anyway if someone can give me some ideas it will be greatful.   NB: Sorry for the title, I have not had other ideas How to install Skype 4.3? Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to  of our .  Skype 4.3 is just released with considerable improvements. As a regular Skype user I want to use the latest Skype on my Ubuntu 14.04, but there is no updates from Update Manager. Even in Skype website only Skype 4.3 is available only for Ubuntu 12.04. Is there anyway to use this latest Skype on Ubuntu 14.04 or how much we have to wait for the update? How to make existing public files private? Navigate folder structure in Open/Save File Dialog with keyboard? How can an int be cast to an enum in C#? What is the maximum party size and the corresponding monster buffs? What is the maximum party size (if there is one) in Diablo 3?  Additionally, how much of a buff do monsters get when adding party members?     "A new ally has joined, but the minions of Hell grow stronger." What is a Windows Handle? I was thinking along the lines of using typeid() but I don't know how to ask if that type is a subclass of another class (which, by the way, is abstract)