Hello everyone i need your help.  I have installed  ubuntu but it is experiencing  a lot of  overheat issues and it  can't  stay on for more than 5 mins.  So i decided  to  install windows but it is showing an error that it cannot be installed  on  disk 0 parition 1.   So i was asking is there any good os which does not  have  any overheat issues and is easily installable
I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.
I'm looking for an easy and robust way to strip all the comments from a listing. My approach (passing \@gobble to the commentstyle key) correctly removes all the one-line comments and block comments. However, the white space left behind by by block comments remains, creating useless gaps in my listing. See the screenshot below (the red rectangle is my emphasis). Any idea?    \documentclass{article}  \usepackage{xcolor} \usepackage[T1]{fontenc} \renewcommand{\ttdefault}{pcr} \usepackage{listings}  \makeatletter \lstset% {%   basicstyle   = \ttfamily,   morecomment  = [l]{//},   morecomment  = [s]{/*}{*/},   frame        = single,   commentstyle = \itshape\color[gray]{.5},   rulecolor    = \color{black},   breaklines, } \makeatother  \usepackage{filecontents} \begin{filecontents*}{sample.c} #include &lt;stdio.h&gt;  /*  block comment taking up white space */ main() {     float fahr, celsius;     float lower, upper, step;     lower   = 0;    /* lower limit of temperature scale */     upper   = 300;  /* upper limit */     step    = 20;   /* step size */     celsius = lower;     printf("\nCelsius\tFahr\n");     while (celsius &lt;= upper)        {         fahr = (9.0/5.0) * celsius+32.0;         printf("%3.0f\t%6.1f\n", celsius, fahr);         celsius = celsius + step;     } } \end{filecontents*}  \begin{document} \makeatletter \lstinputlisting[caption={with comments}]{sample.c} \lstinputlisting[caption={without comments},commentstyle={\@gobble}]{sample.c} \makeatother \end{document} Are there wizarding schools in the rest of the "magical" world? Are there other schools for witches and wizards in the rest of the world? In the books they only speak of 3 schools, but what about Asian or American people?  And even more, were they affected by the events happening in Europe? I seem to have clicked on something that changed my display preferences. The main site is now very minimalistic, with fewer controls and different fonts.  I want to change it back, but where is it? How to enable assembly bind failure logging (Fusion) in .NET How do I enable assembly bind failure logging (Fusion) in .NET? Meaning of probability notations $P(z;d,w)$ and $P(z|d,w)$ What is the difference in meaning between the notation $P(z;d,w)$ and $P(z|d,w)$ which are commonly used in many books and papers? How to reverse a user input without using array or any library function(any function for reversing)? I have a Java bean like this:  class Person {   int age;   String name; }   I'd like to iterate over a collection of these beans in a JSP, showing each person in a HTML table row, and in the last row of the table I'd like to show the total of all the ages.  The code to generate the table rows will look something like this:  &lt;c:forEach var="person" items="${personList}"&gt;   &lt;tr&gt;&lt;td&gt;${person.name}&lt;td&gt;&lt;td&gt;${person.age}&lt;/td&gt;&lt;/tr&gt; &lt;/c:forEach&gt;   However, I'm struggling to find a way to calculate the age total that will be shown in the final row without resorting to scriptlet code, any suggestions? How to add PlotLegends in a Show function? Doing heatmap from line data in QGIS? Proving $\frac{x}{y} +\frac{y}{z} + \frac{z}{x} \ge 3$ for positive $x,y,z$ Is it better in C++ to pass by value or pass by constant reference? Is it better in C++ to pass by value or pass by constant reference?  I am wondering which is better practice.  I realize that pass by constant reference should provide for better performance in the program because you are not making a copy of the variable. Why doesn't xpath work when processing an XHTML document with lxml (in python)? Elements order in a "for (… in …)" loop What is the difference between public, protected, package-private and private in Java? How to tell what length of chain to get? Need to develop a tapered spacer for under a car lift on an angled concrete slab I need to fabricate/develop an angled spacer.  13 inch wide by 10 inch long, by 3/4 inch to 1 3/8 inch thick. This spacer is needed to go under two of the posts of a hobbyist car lift in my garage. The garage floor is angled by the door where two of the four corner posts will go. These two rear posts need to be on a flat surface and at the same level as the two front posts.  Each post pad will need to handle approximately 2000 pounds. I was thinking of building a 4-sided mold where the column pads would be on the angled concrete and pouring some type of epoxy, resin, or cement into the mold. Which the metal plate from car lift posts would sit on. enter image description here What's the point in adding a new line to the end of a file? Some compilers (especially C or C++ ones) give you warnings about:  No new line at end of file   I thought this would be a C-programmers-only problem, but github displays a message in the commit view:  \ No newline at end of file   for a PHP file.  I understand the preprocessor thing explained in , but what has this to do with PHP? Is it the same include() thing or is it related to the \r\n vs \n topic?   What is the point in having a new line at the end of a file? How to hide Authoring information,Revision information,Publishing options tabs in create/edit node for any content type I am trying to hide Authoring information, Revision information, Publishing options tabs in create/edit node for any content type. I tried different modules with no luck. Please give me suggestions how to achieve this. Thanks a lot How is an empty set truly "empty"? In a  question, an answerer says:  an empty bag is a bag with nothing inside it.  Makes sense, but I'm reading a textbook right now that says:  The empty set has only one subset (namely, itself).  Which seems odd to me. If a set is empty, why would it contain a subset? Regardless of whether or not the subset is also an empty set, the &quot;empty set&quot; still contains a subset, so how is it really &quot;empty&quot;? To go back to the empty bag analogy, it just sounds like my text book is saying:  an empty bag is a bag with nothing but an empty bag inside it.  Which doesn't make sense because then the bag isn't empty. I can't wrap my head around this concept. How to batch resize an image and create multiple sizes (with Photoshop)? I want to batch resize an image in multiple sizes with Photoshop.  The sizes are most of the time the same so I would like to have profiles for a set of fixed sizes. Ideally I just need to open my source image and click on "Batch Profile #1" and then Photoshop is creating/saving X different sizes of that image as an output in a specific folder.  This is what i want: