I was actually returning a float value when I typed , instead of . but it did not give me any error. Then I tried running the below code.  #include&lt;stdio.h&gt; #include&lt;conio.h&gt; int getValue(); int main() {     int a = getValue();     printf("%d", a);     return 0; }  int getValue() {     return 2, 3; }   Now the output is 3, that is it returned the second value. This happened two years ago and was searching for the proper answer since then.  Studying  I came to know that it returns the second value after evaluating, but what does it do with the first one?  I studied the logic of the stack(how the values are pushed and pop internally) but I don't think this have anything to do with it.  Does it processes the two values or do something else?
What does the , operator do in C?
What software is used to generate the reputation graphs on Stack Exchange? I'm particularly interested in the zooming functionality which is done very well. Were these graphs generated using off the shelf software or were they coded from scratch? What does the fourth number in the release version mean? Deleting photos on the phone - does it affect them on iCloud? Say $\mathbf{x} \in \mathbb{R}^n$, what is the common notation to extract the first component as an operation?  Something like $\mathcal{P}_j = \mathbf{x}_j$? $\mathbf{x}_j$ is the j-th component.   I need this because I have a function $f(\mathbf{x}) \approx \mathbf{x}$, so I need something like $\mathcal{P}f(\mathbf{x}) \approx \mathbf{x}_j$ since my metric is defined for a single component of $\mathbf{x}_j$. Do these leaves signify anything? Doom-style 2.5D Movement Animations I've started working on a demo for my 2.5D game. For a basic scene I figured I would just use the good old fashioned doom sprites textured to a double sided plane. Simple enough. But I've been scratching my head as to how to display the proper sprite animation relative to the player viewing the sprite...if that makes since.  For example suppose I have three players in the scene Players A, B, and C as such:    Player C should see player A as: Here's an example of what I think player A should look like from C's perspective:    While player B would see player A as follows:    My current idea is that for any given player, I will need to know the current direction of each other player, and where they are located/moving to relativly. From this, I could calculate which sprite image is required.  Is this correct? What improvements/optimizations could be made?  ** EDIT ** Total number of directions will be 8 as depicted below:    For each direction there are two sprites (to show walking movement, sprites for the right hand directions are mirrors of the left):    ** EDIT 2 ** Got this working and have a simple javascript/threejs example for anyone interested: How do I "decompile" Java class files? What program can I use to decompile a class file? Will I actually get Java code, or is it just JVM assembly code?  On Java performance questions on this site I often see responses from people who have "decompiled" the Java class file to see how the compiler optimizes certain things. Which merchants pay best? I noticed at some point that different merchants don't all pay the same for what you're selling. Depending on the category, or even the specific item, some merchants simply pay significantly more.  Are there some general rules on which merchants pay better for which items? Preprocess categorical variables with many values References for multivariable calculus Due to my ignorance, I find that most of the references for mathematical analysis (real analysis or advanced calculus) I have read do not talk much about the "multivariate calculus". After dealing with the single variable calculus theoretically, it usually directly goes to the topic of measure theory.    After reading the wiki article "", I'd like to find the rigorous proof for this test. The first book comes to my mind is Courant's Introduction to Calculus and Analysis which includes the multivariate case in the second volume.   Motivated by this, I'd like to put the question here:     What are the usual references for the   theoretical treatment for   ? Prove $2^n-1$ is divisible by $(2^m-1)^2$ iff... Prove that for any $m,n\in\mathbb{Z}^+$, the number $2^n-1$ is divisible by $(2^m-1)^2$ iff the number $n$ is divisible by $m(2^m-1)$.  My work so far:  It's an if and only if statement, so the common approach is to split the proof into two "if then" proofs ($A\rightarrow B \text{ and } B\rightarrow A$).  Starting with $A\rightarrow B$, for a direct proof, I would assume $A$ and prove $B$. I can use the definition of divisibility:  Assume $n=m(2^m-1)k$ for some integer $k$  Then I need to prove that $2^n-1=(2^m-1)^2h$ for some integer $h$  So I'm thinking I need to start with the expression $2^n-1$ and transform it to $(2^m-1)^2h$, or vice versa, and I need to use the assumption $n=m(2^m-1)k$ somehow.  I notice that the LS of the equality contains the variable $n$ while the RS contains $m$, and the assumption relates $n$ to $m$, so that could be a way forward. For example, simple substitution gives $2^{m(2^m-1)k}-1$, but I'm not sure what I could do from here. Perhaps there's a divisibility theorem that could help?  Other things I notice: $2^n-1$ and $(2^m-1)^2$ are always odd. Also, the divisors in both cases are multiples of $2^m-1$.  Any help/hints appreciated. Java Swing: Displaying images from within a Jar Install a .NET windows service without InstallUtil.exe How long does a ban or suspension on an SE site last? I've tried to make some searches about ban and suspension but the data I found doesn't seem to correspond to my experience. I also cannot find a FAQ on the help section.  Can you explain me how these mechanics work?   I've just found  for a review ban duration to be extended automatically at every new suspension . But it's speaking of 2, 7, 30 days.  I've heard from a moderator that the suspension duration is 7, 30, 365 days. Is that correct? Can a moderator change the duration of a suspension? I have a function with the same name, but with different signature in a base and derived classes. When I am trying to use the base class's function in another class that inherits from the derived, I receive an error. See the following code:  class A {     public:     void foo(string s){}; };  class B : public A {     public:     int foo(int i){}; };  class C : public B {     public:     void bar()     {         string s;         foo(s);     } };   I receive the following error from the gcc compiler:  In member function `void C::bar()': no matching function for call to `C::foo(std::string&amp;)' candidates are: int B::foo(int)   If I remove int foo(int i){}; from class B, or if I rename it from foo1, everything works fine.   What's the problem with this? Changing color of already printed text For making a small quiz in class I am working on a presentation in beamer.  I want to change the color of statements to red (wrong statement) or green (right statement) but only after my class answered the question.  I was searching the internet, but only found the color package, where you apparently can only change the text color before it appears.  Can someone point me into the right direction? Notify us when the question has been edited after posting an answer the largest integer $n$ for which $n+5$ divivides $n^5+5$? When we divide $n^5+5$ by $n+5$, we get a remainder $-620$, i.e., $n^5+5=K(n+5)-620$ , now how to proceed further? How do I bypass restrictions on the length of the PATH variable System Properties      This environment variable is too large. This dialog allows setting values up to 2047 characters long.   I use/have used a lot of software, and my PATH has grown as a result. When I try to add new paths, I get the above message. As a workaround, I'm editing my user path, but prefer not to. Can we simply rename an app if they are different versions and keep them both? For example, I have Xcode 4.4.1, and now Xcode 4.5 Golden Master (GM) version is available, but it is also called Xcode (when the .dmg is mounted as an disc image, it shows only one app (or folder), called Xcode)  I think the way is just to double click on the .dmg file, and then drag and drop that app into our Applications folder.  But since the current Xcode and Xcode 4.5GM have the same name, can the new one just be renamed and so we can have both versions on our machine?  I was worried that what if the app writes back data to the /Applications/Xcode folder, then the GM version can write unexpected data for the 4.4.1 version.  And will it work with other software, such as Xcode 3.2, Xcode 3.3, or even different versions of Microsoft Office and Adobe Photoshop?