C PLUS PLUS - Programming Articles

Beginning Visual CPP 2005 Express Part 1

Introduction Microsoft Visual C++ 2005 Express Edition has been significantly improved for Visual C++ developers by adding innovative language constructs, new compiler features, dramatically enhanced productivity, and an improved debugging ex ...

0 Comments. 1248 views since Jan 17, 2008

Beginning Visual CPP 2005 Express Part 2

The Visual C++ 2005 Express Edition Integrated Development Environment (IDE) offers a set of tools that help you write and edit the code for your programs, as well as detect and correct errors in your programs. In this topic, you create a new s ...

0 Comments. 1227 views since Jan 17, 2008

Beginning Visual CPP 2005 Express Part 3

Creating CLR Console Application To create a new Project Step 1: On the File menu, point to New, and then click Project... ...

0 Comments. 1105 views since Jan 17, 2008

Beginning Visual CPP 2005 Express Part 4

Creating CLR Graphical Application To create a new project 1. On the File menu, point to New, and then click Project.... 2. In the Project Types area ...

0 Comments. 1065 views since Jan 17, 2008

C++ Coding Standards: Some Useful Tips

Create a Bug Tracking System Early and Not Often The earlier people get used to using a bug tracking system the better. If you are 3/4 through a project and then install a bug tracking system it won't be used. You need to install a bug tracking ...

0 Comments. 1019 views since Aug 11, 2008

C Plus Plus Questions Part 2

Note: All the programs are tested under Turbo C++ 3.0, 4.5 . It is assumed that, Programs run under Windows environment, Program is compiled using Turbo C/C++ compiler. The program output may depend on the ...

1 Comments. 996 views since Jun 16, 2008

C++ Coding Standards: Naming Standardization

Standardization is Important It helps if the standard annoys everyone in some way so everyone feels they are on the same playing field. The proposal here has evolved over many projects, many companies, and literally a total of many weeks spen ...

0 Comments. 903 views since Jul 26, 2008

C++ Coding Standards: Classes and Methods

Classes Naming Class Files Class Definition in One File Each class definition should be in its own file where each file is named directly after the class's name: ClassName.h Implementat ...

0 Comments. 888 views since Jul 31, 2008

C Plus Plus Theory Questions Part 2

Question 1 What is an orthogonal base class? Answer If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes op ...

0 Comments. 864 views since Jun 16, 2008

C++ Coding Standards: Variables and Documentation

Reference Variables and Functions Returning References References should be prepended with \'r\'. Justification The difference between variable types is clarified. It establishes the di ...

0 Comments. 852 views since Jul 28, 2008

C++ Coding Standards: Process and Coding Pattern

Process Use a Design Notation and Process Programmers need to have a common language for talking about coding, designs, and the software process in general. This is critical to project success. Any project brings together people o ...

0 Comments. 851 views since Aug 8, 2008

C Plus Plus Theory Questions Part 1

Question 1 What is a modifier? Answer A modifier, also called a modifying function is a member function that changes the value of at least one data member. In other words, an operation that modifies the state of an object ...

0 Comments. 808 views since Jun 16, 2008

C++ Coding Standard: Exception Handeling

Exceptions Create One Exception for Each Library Creating very elaborate exception hierarchies is a waste of time. Nobody ends of caring and all the effort goes to waste. Instead, create one exception per library or namespace and have a ...

0 Comments. 788 views since Aug 29, 2008

C++ Coding Standards: Complexity Management

Layering Layering is the primary technique for reducing complexity in a system. A system should be divided into layers. Layers should communicate between adjacent layers using well defined interfaces. When a layer uses a non-adjacent layer th ...

0 Comments. 754 views since Jul 28, 2008

C++ Coding Standard: Formatting & Indentaion

Formatting Braces {} Policy Brace Placement Of the three major brace placement strategies two are acceptable, with the first one listed being preferable:   Place brace under and inline with keywords:  ...

0 Comments. 652 views since Aug 29, 2008