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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Gett<strong>in</strong>g Your Feet Wet<br />

Let’s prove that this works with a little sample program. Create a new console application <strong>in</strong><br />

<strong>C++</strong>Builder and enter the program shown <strong>in</strong> List<strong>in</strong>g 1.5.<br />

List<strong>in</strong>g 1.5. ARGSTEST.CPP.<br />

1: #<strong>in</strong>clude <br />

2: #<strong>in</strong>clude <br />

3: #pragma hdrstop<br />

4:<br />

5: <strong>in</strong>t ma<strong>in</strong>(<strong>in</strong>t argc, char **argv)<br />

6: {<br />

7: cout

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

Saved successfully!

Ooh no, something went wrong!