... from the right
– – – – – – – – – –
– – – – – – – – – –
=12
= 40 96
86
Chapter 2
05_571974 ch02.qxp 1/20/ 06 11:34 PM Page 86
// Ex3_ 06. cpp
// Multiple case actions
#include <iostream>
using ... the results of a comparison to modify the behavior of a program.
1 16
Chapter 3
06_ 571974 ch03.qxp 1/20/ 06 11:18 PM Page 1 16
The left operand of the shift operator is the value to...
... << pBox->Volume(); // Display volume of object pointed to by pBox
368
Chapter 7
10_571974 ch07.qxp 1/20/ 06 11:44 PM Page 368
Now that you have defined your standard box having dimensions 3x5x8, ... const
{
return this->Volume() > xBox.Volume();
}
private:
361
Defining Your Own Data Types
10_571974 ch07.qxp 1/20/ 06 11:44 PM Page 361
return m_Length*m_Width*m_Height;
}...
... control to display the menu shown
in Figure 21- 26.
Figure 21- 26
1 069
Applications Using Windows Forms
24_571974 ch21.qxp 1/20/ 06 11:47 PM Page 1 069
... the control to the right should be 49 and 6 respectively. You can set the value of the
Value
1 068
Chapter 21
24_571974 ch21.qxp 1/20/ 06 11:47 PM Page 1 068
void SetList(ListBox^ listBox, int min, ... handler finishes executi...
... stuck to their initial defaults. Let’s look at how you can fix that.
69 6
Chapter 13
16_ 571974 ch13.qxp 1/20/ 06 11: 26 PM Page 69 6
// Current element type
unsigned int m_Element;
COLORREF m_Color; ... OnElementCircle();
afx_msg void OnElementCurve();
protected:
69 3
Working with Menus and Toolbars
16_ 571974 ch13.qxp 1/20/ 06 11: 26 PM Page 69 3
A toolbar button is a 16x15 array...
... from the COrderSet object. This used
to be possible in earlier versions of Visual C++, but unfortunately the Visual C++ 2005 product does
not provide for this. The dialog box for adding a new ... _T(
“DSN=Northwind;
DBQ=D:\\Beg Visual C++ 2005\ \Model Access DB\\Northwind.mdb;
DriverId=25;
FIL=MS Access;
MaxBufferSize=2048;
PageTimeout=5;
UID=admin;”);
}
937
Connecting to Data...