In Visual C++:
File->New->Project
- Select Empty project
- Browse to the location: i.e. \cis149
- Enter solution name: chap10
- check Create directory for solution
Copy the files in folder Chapter 10 Source Code to your directory i.e. \CIS\CIS149\Chap10\Chap10.
In the project:
- Right click on the project in solution explorer Add Existing Item
Select the Ch10_SaleByQuarter.cpp file.
- Build the solution.
- Run the (Start without debugging)
- When prompted enter the salesPerson ID file name (Ch10_SalesManID.txt)
- Enter the sales data file name (Ch10_SalesData.txt)
- Enter the output file name (anyname.txt)
The results are in the output file
Wednesday, January 7, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment