In one of my colleagues code review for c++, one of my team mates asked her to put an underscore for the beginning of the function since it was not exposed via the header file.  But I found it not compulsory(left to the programmer's style) for the following reasons:   This was an old code base and none of the code followed this coding convention. This was a function name and not a method defined in the class. Most of my company uses Java and is much familiar with Java more than c++. Putting an underscore would create more confusion than clarity.   I think this question is quite subjective. Am I wrong here? Should we put an underscore for each function not exposed via header file?
It's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background, you'll probably use m_foo. I've also seen myFoo occasionally.  C# (or possibly just .NET) seems to recommend using just an underscore, as in _foo. Is this allowed by the C++ standard?
Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\infty, +\infty]$, then $f(x) = ax$, a real. Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\infty, +\infty]$, then $f(x) = ax$, a real.  We know $f(0)=0$, and if one assumes differentiability it is quite easy.      But how does monotone make up for differentiability? "I will appreciate your help" I encounter the phrase "I will appreciate your help" from time to time and it doesn't sound too honest to me. To be more specific, I don't have a problem with this phrase coming from a friend, because he will appreciate my help by "owing me one". But a stranger from the Internet, that's different, methinks.  "How will you appreciate it?" pops in my mind every time I see it, because to me, appreciation equals reward and, well, you can't reward people over the internet much. It is quite possible that I am just wrong and this is a perfectly fine figure of speech. We usually say that the ultimate source of energy for earth is the Sun. So this means that sun creates energy but according to the law of the conservation of energy energy can neither be created nor destroyed, so how does the energy come into the sun? That is just an example. We know that energy is transformed from one form to another but is not created and destroyed. But that is confusing because there must be an ultimate source of energy. How is  energy created in this source? If it is related to the atomic level, then how can atoms possess energy? Is the law of the conservation of energy untrue? Unable to see anything after importing .obj file I try to import .obj files from this project:  - the files contain Polygon Mesh Data.  When I import the obj file into blender, the outliner shows a new mesh added, but nothing is visible in the 3D viewport:      Any help will be appreciated. What size difference is there between the PSP 1000, 2000 and 3000 for applying Skin Stickers? I have a problem with my touchpad; I can't scroll down with 2 fingers and I don't know why. I have searched on Google about my problem and I've found some answers but none of them don't work for me.  One solution I found was to go in System Settings -&gt; Mouse &amp; Touchpad -&gt; Touchpad and check the Two-finger scrolling, but I don't have that option.    Another solution was to try to reinstall, which also didn't work. Yet another solution was to go in Ubuntu Software Center, type synaptic and install the Synaptic Package Manager but that didn't work, either.      What can I do to be able to scroll with two fingers? Since I'm confused with these two phrases, I did a search in Google Books hoping to find some examples. But then I found :     Two private spaces or replicas cannot contain the same object with two distinct references. For example, during a disconnected phase, the pump can be present in two different private spaces and still be designated with the same name. During a meeting, two replicas use a same name to access the pump object(local or distant).   This made me more confused. I don't really understand why "the same name" was used in one sentence while "a same name" was used in another. Are there any differences between them? Combinatorial proof of summation of $\sum\limits_{k = 0}^n {n \choose k}^2= {2n \choose n}$ I was hoping to find a more "mathematical" proof, instead of proving logically $\displaystyle \sum_{k = 0}^n {n \choose k}^2= {2n \choose n}$.  I already know the logical Proof:  $${n \choose k}^2 = {n \choose k}{ n \choose n-k}$$  Hence summation can be expressed as:  $$\binom{n}{0}\binom{n}{n} + \binom{n}{1}\binom{n}{n-1} + \cdots + \binom{n}{n}\binom{n}{0}$$  One can think of it as choosing $n$ people from a group of $2n$  (imagine dividing a group of $2n$ into $2$ groups of $n$ people each. I can get $k$ people from group $1$ and another $n-k$ people from group $2$. We do this from $k = 0$ to $n$. Example of a recursive set $S$ and a total recursive function $f$ such that $f(S)$ is not recursive? Browsing wikipedia, I stumbled on the following: "The image of a computable set under a total computable bijection is computable." Given the form of the theorem, there must be some example of a example of a recursive set $S$ and a total recursive function $f$ such that $f(S)$ is not recursive (otherwise the statement would have presumably been stronger). But I'm having difficulty dreaming up a case where this happens. Prevent Mac Terminal from reverting to default theme I can't find any way to change the Terminal theme and have that theme applied permanently.  I want to change to another darker theme other than the default 'basic' theme, and (most importantly) have it remain as the theme every time I open Terminal. Error mounting NTFS partition after hybrid shutdown with Windows 8 I've got this error and I can't access my files located in a different partition when I'm using Ubuntu, but when I'm using Windows 8 my files are accessible. I'm using Ubuntu as my main OS. I tried shutting down Windows 8 properly but still nothing happened. Is there any way where this can be fixed?  Error mounting /dev/sda4 at /media/kris/BackUp Files:  Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/kris/BackUp Files"' exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. Why isn't an infinite direct product of copies of $\Bbb Z$ a free module?   Actually I was asked to show that it's not projective, but as $\Bbb{Z}$ is a PID, so it suffices to show it's not free.   I am stuck here. I saw some questions in SE, but there is no satisfactory answer at all. Getting Session ID in Lightning Finding minimal form -- Velleman exercise 1.5.7a Given: a = 1 b = 10 c = 100  How do I display a leading zero for all numbers with less than two digits? This is the output I'm expecting: 01 10 100 I am solving the TOEIC workbook, by the way, I faced conflict that doesn't match meaning I knew.  The problem is     The newest branch of the library is located in/on Pine Street.   I think either 'in' or 'on' have the same meaning. But the commentary said that 'be located in' is mainly writing in front of building name and city name.   I don't know what is correct? Is it safe to connect a battery in series to wall via adapter?  I have an AC adapter which gives me 10 vDC from the wall (220 volts). I've measured the adapter and it outputs 10 vDC. I have a 3 volt battery. I would like to connect in series to get 13 vDC.   Is this possible? Is this safe? If not, what can go wrong? According to "Moving Around Other Creatures" (PH p. 191 / SRD p. 92):     You can move through a nonhostile creature’s space. [...] another creature’s space is difficult terrain for you.    Whether a creature is a friend or an enemy, you can’t willingly end your move in its space.   So it's possible for Alice to , the only penalty being that the ally's space counts as difficult terrain to enter.  If an enemy adjacent to the ally's space has readied a grapple against Alice and is successful, then Alice (unwillingly) ends her move in her ally's space.  Do allied characters in the same space suffer any negative effect?  Now the rest of Alice's allies do the same thing.   Is there a limit to the number of characters that can be stacked on a space?   What if Alice's ally was the one with the readied grapple?  Can you stack an ally on your space by readying a grapple to prevent them from leaving? Past participle after noun: "proposed cost" vs. "cost proposed" I have the following two examples:        Our proposed cost is expensive.   Our cost proposed is expensive.      Is there any difference between them? Or is the second sentence wrong? Find the limit if it exists of $S_{n+1} = \frac{1}{2}(S_n +\frac{A}{S_n})$