Difference between revisions of "Code Formatting Conventions"

Jump to navigation Jump to search
m
typo
m (→‎Whitespaces: fix operator overloading example (should be compilable now :-P))
m (typo)
Line 78: Line 78:
</pre>
</pre>


'''array delete operator has no whitespace before []'''
'''Array delete operator has no whitespace before []'''
<pre>
<pre>
delete[] foo;
delete[] foo;
Line 185: Line 185:
   * screen coordinates.
   * screen coordinates.
   * @param x            the new x position of the mouse
   * @param x            the new x position of the mouse
   * @param y            the new x position of the mouse
   * @param y            the new y position of the mouse
   */
   */
  virtual void warpMouse(int x, int y) = 0;
  virtual void warpMouse(int x, int y) = 0;
561

edits

Navigation menu