Compiling C programs on Ubuntu 12.04
Compiling C code in the terminal
Determine group G as cyclic If $G$ has no proper subgroup, prove that $G$ is cyclic of order $p$, where $p$ is a prime number.     I know that since $G $is a group with no proper subgroups, $g \in G$ is not just the identity. I don't know where to go from there. Since I upgraded to the latest version of Ubuntu, I cannot install the Java OpenJDK package needed to compile Android custom ROMs. When I run sudo apt-get install openjdk-7-jdk, the following error appears:  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  openjdk-7-jdk :  Depends: openjdk-7-jre (= 7u51-2.4.6-1ubuntu4) E: Unable to correct  problems, you have held broken packages.   How do I fix this problem? Branch of the n-th root of a holomorphic function is holomorphic It is true that given a domain $D$ and a function $f$ that is holomorphic and not vanishing in $D$, then a branch $\varphi$ (with $\varphi$ continuous) of $f^{1/n}$ in $D$ is holomorphic in $D$ ().   My question is, does the statement remain true if we remove the non-vanishing condition? I haven't been able to find a counterexample or a proof on that more general case. I'm trying to compile a kernel for a 32bit single-core Intel Atom machine. Needless to say, the compile is taking inordinate amounts of time. It's been going for 2 hours and it's still only halfway through the driver modules.  Compiling a kernel on my main desktop only takes 15 minutes but it's a 64bit machine. Can I cross compile to generate a 32bit kernel package from the better machine? trim is not part of the standard c/c++ library? Is it me or are there no standard trim functions in the c or c++ library? is there any single function that acts as a trim? If not can anyone tell me Why trim is not part of the standard library? (i know trim is in boost)  My trim code is  std::string trim(const std::string &amp;str) {     size_t s = str.find_first_not_of(" \n\r\t");     size_t e = str.find_last_not_of (" \n\r\t");      if(( string::npos == s) || ( string::npos == e))         return "";     else         return str.substr(s, e-s+1); }   test: cout &lt;&lt; trim("  \n\r\r\n \r\n text here\nwith return   \n\r\r\n \r\n "); -edit- i mostly wanted to know why it wasnt in the standard library, BobbyShaftoe answer is great. Notify-send ignores timeout? Maybe I'm doing something wrong, but shouldn't the commands (run separately) notify-send -t 1 &quot;test&quot; notify-send -t 1000 &quot;test&quot; notify-send -t 10000 &quot;test&quot;  have different timeouts? The first being nearly instantaneous, the second taking 1 sec and the third 10 seconds? In all cases it seems to take about six seconds for me. Is there a way around this behaviour? As the developers label this as a &quot;feature&quot; instead of a bug, I would like some alternatives. Let $G$ be a group, where $(ab)^3=a^3b^3$ and $(ab)^5=a^5b^5$. Prove that $G $ is an abelian group. Let G be a group, where $(ab)^3=(a^3)(b^3)$ and $(ab)^5=(a^5)(b^5)$. Prove that $G$ is abelian group.  Thank you in advance. Any help is appreciated. Here is my bibliography in latex. The types is "Inprooceedings".  I use WinEdt.    @INPROCEEDINGS{tem_1,   Author         = {Comelli, P, Ferragina, P, Granieri, M.N, and Stabile, F},   Title          = {Optical recognition of motor vehicle license plates},   Year           = {1995},   Volume         = {44},   Series         = {4),   Month          = {November},   Pages          = {790–799},   Publisher      = {Vehicular Technology, IEEE Transactions}    }   But i get this error.   How to solve it? Explain why $\mathbb{Z \times Z}$ and $\mathbb{R \times R}$ is not a field and that why any external direct sum of two fields cannot be a field. I believe it has much to do with the lack of every non-zero element having an inverse, however I am having difficulty seeing it. How can I edit this trigger to only fire once? Why can't I launch eclipse from a terminal ? change $PATH environment variable How to develop RPG Damage Formulas? Minecraft looks like a bad texture pack I am playing Minecraft 1.12 but today the in-game textures look much lower quality than usual. I don't have any of the super secret settings turned on, and I'm unsure how to fix this and get the normal textures back. Is there an equivalent of MATLAB's Workspace window in Mathematica? adding a point in a manipulate command Sequence of rationals with an irrational limit have denominators going to infinity How can I test within a document, whether or not the initial  \documentclass[a4paper,11pt,twoside,fleqn,draft]{report}   includes the "draft" option? My naive attempt  \newif\ifmydraft \mydraftfalse \DeclareOption{draft}{\mydrafttrue}   does not work, and breaks a later \usepackage command. Below is an example from I.N. Herstein:       Let  $R=\Bigg\{\left( \begin{array}{ccc} a &amp; b \\ -b &amp; a \end{array} \right)\Bigg|a,b\in \mathbb R\Bigg\}$ and let $\mathbb C$ be the field of complex numbers. Define $\psi :R\to \mathbb C$ by $\psi\left( \begin{array}{ccc} a &amp; b \\ -b &amp; a \end{array} \right)=a+bi.$       It is asked to prove that $\psi$ is a ring isomorphism of $R$ onto $\mathbb C$ .    can anyone help me with some hint how to prove the ring isomorphism. I am compiling a program which requires boost-thread-mt library. I have installed libboost-all-dev using sudo apt-get install libboost-all-dev but compiler says that it cannot find boost-thread-mt library. Is this library in some other package? Please guide me what i need to install for this. How to query Sharepoint 2010 lists with sql? I think it has to be a common task. We have some applications on sharepoint and we need to prepare reports with data from these applications. It would be great if we could use Reporting Services. We need to query this data with sql because we need to join with some other sources. How can I do this? Are there any 3rd party tools or any built-it mechanisms in sharepoint to use Sharepoint lists data like ms sql tables?