Browse Source

:beers: Fix typo in ProgC Sup 2

Andrea Franceschini 6 years ago
parent
commit
daa64d992d
1 changed files with 4 additions and 6 deletions
  1. 4 6
      files/ProgC/supervision_2.html

+ 4 - 6
files/ProgC/supervision_2.html

@@ -35,28 +35,26 @@
     return 0;
 }
 </pre>
-<p>Hint: heap allocation and deallocation should occur exactly once!</p>
+	<p>Hint: heap allocation and deallocation should occur exactly once!</p>
 
     <h2>7</h2>
-
-    <h2>8</h2>
     <p>Why should destructors in an abstract class almost always be declared <code>virtual</code>?</p>
 
-    <h2>9</h2>
+    <h2>8</h2>
     <p>Provide an implementation for:</p>
     <pre>
     Stack(const Stack&amp; s);
     Stack&amp; operator=(const Stack&amp; s);</pre>
     <p>as declared in the slides for lecture 7.</p>
 
-    <h2>10</h2>
+    <h2>9</h2>
     <p>Provide an implementation for:</p>
     <pre>
     template&lt;class T&gt; T Stack&lt;T&gt;::pop();
     template&lt;class T&gt; Stack&lt;T&gt;::~Stack();</pre>
     <p>as declared in the slides for lecture 7.</p>
 
-    <h2>11</h2>
+    <h2>10</h2>
     <p>A hardware engineer stores a FIFO queue of bits in an <code>int</code> on a platform with<br>
         32-bit ints and 8-bit <code>char</code>s using the following C++ class:</p>
     <pre><code>class BitQueue {