12.12.2012 Views

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

Teach Yourself Borland C++ in 14 Days - portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exercises<br />

<strong>C++</strong> Class Frameworks and the Visual Component Model<br />

1. Write a paragraph describ<strong>in</strong>g how properties and class data members differ.<br />

2. Create a <strong>C++</strong>Builder application that displays a bitmap on the ma<strong>in</strong> form when a<br />

button is clicked.<br />

3. Create a <strong>C++</strong>Builder application that displays a message box that displays the text<br />

Hello, Bubba! when the ma<strong>in</strong> form is clicked.<br />

4. Create a <strong>C++</strong>Builder application that displays the text I’ve been resized! <strong>in</strong> red<br />

letters when the application is resized.<br />

5. Extra credit: Modify the program <strong>in</strong> exercise 4 so that the text disappears aga<strong>in</strong><br />

after 5 seconds.<br />

165<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!