Conventions For This Appendix


Note that this appendix adopts an additional convention when displaying code; C# code is always displayed with gray shading:

 // this is C# code class MyClass : MyBaseClass { 

Any new or important C# code is displayed in bold:

 // this is C# code class MyClass : MyBaseClass // we've { int X;// this is interesting 

However, any C++ code presented for comparison is presented like this, without any shading:

// this is C++ code class CMyClass : public CMyBaseClass {

The sample code in this appendix also takes account of the most common naming conventions when using the two languages under Windows. Hence class names in the C++ examples begin with C, whereas the corresponding names in the C# examples do not. Also, Hungarian notation is often used for variable names in the C++ samples only.




Professional C# 2005
Pro Visual C++ 2005 for C# Developers
ISBN: 1590596080
EAN: 2147483647
Year: 2005
Pages: 351
Authors: Dean C. Wills

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net