When i include .h files the compiler says no such file or directory i have installed MinGW in the default path C:\MinGW\ and i have added the MinGW path to environment variables path as C:\MinGW\bin   this is my code   #include &lt;stdio.h&gt; #include &lt;main.h&gt;  int main() { #if (DEBUG_MODE)     printf("Debug Mode!\n"); #else     printf("No Debug Mode!\n"); #endif     return 0; }   and this is my main.h file  #ifndef MAIN_H_INCLUDED #define MAIN_H_INCLUDED  #define DEBUG_MODE 1  #endif // MAIN_H_INCLUDED   and this is the error  11:02:58 **** Incremental Build of configuration Debug for project test **** Info: Internal Builder is used for build gcc -O0 -g3 -Wall -c -fmessage-length=0 -o main.o "..\\main.c"  ..\main.c:10:18: fatal error: main.h: No such file or directory #include &lt;main.h&gt;               ^ compilation terminated.  11:02:58 Build Failed. 1 errors, 0 warnings. (took 212ms)
In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows?   #include &lt;filename&gt;  #include "filename"
Enable HTML5 tags on Eclipse I really love Eclipse (PDT)... But i'm developing sites using HTML5 and CSS3 and it mark the HTML5 tags like &lt;nav&gt;, &lt;section&gt; and &lt;article&gt;  as invalid tags (inexistent).  How can I add those new tags to it?  And what about CSS3 rules?  I read something about remove the "invalid tag" check... and that's not what I want. :( Amongst North Indian Students, the phrase "give an exam" is very popular. These students use the phrase to describe the act of writing the answers to examination questions.  The reason being, in Hindi, it's known as "exam dhena" which translates literally to "to give an exam".  In South India, however, a majority of people use the phrase "to take up an exam".  Which of these usages is more common/appropriate/grammatical? (As a prof I have developed a strange aversion toward the "give an exam" phrase; I find it wrong and ugly.) How do I check an iOS device's battery health? I want to upgrade the hard drive in my 2012 Macbook Pro to an SSD. I have the parts, but had a question about how to clone the contents of my current drive so I can install it onto the SSD.  I've seen tutorials where people suggest connecting the new SSD to the Macbook prior to installation and using a Carbon Copy Cloner to clone the drive, and then installing the SSD drive.  My question is, can I do a Time Machine backup of my current hard drive on an external hard drive, install the SSD, and then use the Time Machine backup from the external to transfer it onto the newly installed SSD? Is this the same as using the clone program above? How to vertically center a "div" element for all browsers using CSS? Where is the denoiser? The best free and most up to date phylogenetic tree on the internet? I found phylogenetic tree in wikipedia is lacks of accuracy. It actually confusing with versions. Some terms was not scientifically accurate with dna analysis anymore  So are there anyone know where is the most updated datasource on the internet? Problem  I have various footnotes, which are hyperlinked from the text to the bottom of their respective pages. When I click on the hyperlinks (in the main text), they always take me to the first page of my document. I also have footnotebackref which puts a hyperlink at the footnote to take the reader back to the main body of text and these links for fine.   Edited MWE  After a lot of deletion, I have managed to reduce the document to the following lines. One might say that I have found the problem, since the removal of \usepackage[hang, flushmargin]{footmisc} stops the problem, but I would still like to have non-indented footnotes.  \documentclass{article}  \usepackage[usenames,dvipsnames]{color} \usepackage[colorlinks=true]{hyperref}  \usepackage[hang, flushmargin]{footmisc}         %Problem line. \usepackage{footnotebackref}  \begin{document} \tableofcontents             \newpage                 \section{Section} This is some text\footnote{This is a footnote.}. \end{document} XeTeX: What happened to \mathcal and \mathscr? Recently I switched from pdflatex to xelatex to be able to use OpenType fonts. I like to use variables highlighted using \mathcal for specific variables, while I used to use \mathscr-typeset variables for matrices. But when I compile with XeLaTeX they look exaclty the same.  Old code  \documentclass{standalone} \usepackage{mathrsfs} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        New code  \documentclass{standalone} \usepackage{unicode-math} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        Broken code  I tried to get back the glyphs from mathrsfs, but it failed this way.  \documentclass{standalone} \usepackage{unicode-math} \usepackage{mathrsfs} \begin{document} $\mathcal{C} = \mathscr{C}$ \end{document}   Output        Question: How can I get back the behaviour? In principle I'd like to have the old \mathcal letters from the pdflatex-version of Computer/Latin Modern.    Alternate solutions (Addendum 2016/05/11) Biblatex with Biber: Configuring my editor to avoid undefined citations Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools Cannot change stroke width in Inkscape I am trying to change the stroke width of an icon in Inkscape but, unlike other times I have done this, this time the stroke width appears to be 0 px and I am not allowed to make it thinner:    The stroke width is actually quite large already, is there another setting I should edit to make it thinner?  You can download the file I am working on .  BTW: sorry for the potato quality of the screenshot, this is what you get using Inkscape on a retina screen :/ We all know that _spPageContextInfo is a very useful thing in Client side development. I need something equivalent of _spPageContextInfo in SPFX. Currently I am unable to use it directly from typescript. It gives error like     Can not find '_spPageContextInfo'   Finally, I have gone through the API documentation of  and  found . PageContext has dependence with . My qestion is: How to use PageContext? I need to use it my BaseService class. constructor of my class is:  constructor(private $http: ng.IHttpService, private $q: ng.IQService, serviceScope: ServiceScope) {     serviceScope.whenFinished(() =&gt; {       this.pageContext = new PageContext(serviceScope);       console.log(this.pageContext);     });   }   Inside the constructor serviceScope is undefined. I know the reason: As I am not injecting/initialising serviceScope anywhere like other angular services. So what is the approach of injecting/initialising serviceScope in angular service class? change caption in tufte class full-page figure I've tried to change the caption in a full-width float with tufte-book, but to no avail. I want the caption in this figure to be like more common LaTeX classes.  Here is a MWE and the result:  \documentclass[a4paper,nohyper]{tufte-book} %abstracton \usepackage{fontspec} \defaultfontfeatures{Ligatures={TeX}} \setmainfont[Numbers={OldStyle}]{Minion Pro} %or any other font \setsansfont{Myriad Pro} % or any other font \setmonofont[Scale=MatchLowercase]{Menlo} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{sidecap} \usepackage[dvipsnames]{xcolor} \usepackage{polyglossia} \setmainlanguage{brazil} \usepackage[bookmarks]{hyperref} %\usepackage[font=sf, labelfont={sf}, margin=1cm]{caption} \newfontfamily{\A}{Al Bayan}  \begin{document}  \begin{figure*} \centering \includegraphics[width=.9\textwidth]{./camp-scene} \caption{Cena de Acampamento. Mir Sayyid Ali, séc. XVII. 28,4 x 20 cm. Harvard University Art Museums, 1958.75. Os tecidos preenchiam a vida tanto dos nômades quanto dos habitantes das cidades, cobrindo o chão e definindo o espaço. O papel onipresente dos tecidos é visto numa pintura de um acampamento nômade, atribuído ao pintor persa do século XVI Mir Sayyid Ali.} \label{fig:camp-scene} \end{figure*}  \end{document} Is it possible to choose which OS will be loaded using a hardware switch? $\lambda=\frac{2h}{p}$ instead of $\lambda=\frac{h}{p}$? I am studying quantum physics and there is something I don't understand:   I know that for any particle $E=hf$ (Einstein relation) and  $v=\lambda f$ ($v$ is the speed of the particle). I also know that the kinetic energy is $E_k=\frac{mv^2}{2}$.    Solving those 3 equations for $\lambda$:  $$h\frac{v}{\lambda}=\frac{mv^2}{2},$$ I finally find $$\lambda=\frac{2h}{mv}=\frac{2h}{p},$$ which is not consistent with the De Broglie relation $$\lambda=\frac{h}{p}.$$ Where am I wrong in my development? Between vs. Among - "Difference [between | among] one thing and other things." Consider the following two versions of a question:1   Version 1: What is the difference in meaning between "[to be] not invited" and similar negation forms?  Version 2: What is the difference in meaning among "[to be] not invited" and similar negated forms?    Personally, I think Version 1 might subtly suggest a Star Topology (see below) with the target sentence "[to be] not invited"at the center.  And Version 2 might subtly suggest a more free-form comparison like the Mesh or Fully Connected, with the target sentence simply "one among many":   Between approx equal "Star" and among approx equal "Fully Connected"?  Don't get me wrong: I do think this is quite subtle, not always applicable, and I don't think anyone would intuit such a "network topology" meaning without further explanation.   So the main question is, are both grammatically correct?  If yes, is there a semantic difference to choose one over another, perhaps as I suggested?  Or does the plurality aspect of between and among trump other semantic and stylistic issues?    1. In my question , another user provided a very helpful edit. However, the change of the word between to among prompted this question. Usernames vs. Real Names I want to create a social network mainly geared towards user-to-user interactions such as commenting and discussion boards. From my observations, I've found that users are more likely to engage in constructive conversations when using their full names as opposed to creating flame wars when hiding behind a username. While the latter still has the possibility to exist using one's real name, it's not as evident considering that the user is bearing his or her identity—either through the site's main registration or through Facebook Connect.  Don't get me wrong I've seen many communities manage to still offer insightful user contributions using usernames. All in all, what are the pros and cons of the two? How will people upgrade from 12.10 to later releases after 13.04 is EOL? Positive correlation and negative regressor coefficient sign Is it possible to obtain a positive correlation between a regressor and a response (+0,43) and, after that, obtain a negative coefficient in the fitted regression model for this regressor?  I'm not talking about changes in the sign of the regressor among some models. The coefficient sign always remains.  Could  the remaining variables of the fitted model influence the changing of the sign? Should we @Override an interface's method implementation?