| Create & Update > File Manager |
|
Assignment 3:
October 5th Exam
Menu
1. Seeing a program
2. Type it save, look at it good identify something
What does it do?
How does it do it?
3. Look at geocities > upload
4) All your work should be uploaded into your Geocities
Book 1 on Tuesday
Book 2 on Thursday
Apply 7c's to life
complete Correct Customize
Compelling Context Current
Clear
When you do a program you must be exact. Word for word
In C++ languages Uppercase and Lowercase are considered different.
the line number are used so that you can refer to it for learning purposes, you don't need it in programing
C++ program must be typed with an editor and saved as with extension .cpp
notepad, wordpad, word, frontpage or visual studio.net ms
What do you understand from the program?
What are the words you understand?
What are the things you don't understand?
John does not understand certain words such as: enbl-endline, cout / cin
Julian => fstream
Programs are made of words that are reserved: if, while, and have premeaning.
They are less 100 but 10 of them are the most frequent used.
Tania received an invalid file name from yahoo. Why?
If you haven't seen a Program here:
1: #include <fstream.h>
2: #include <string.h>
3:
4: main(){
char searchname[15],itemname[15],associateidle[14],filename[13];
6: cout<< "ENTER THE DATA FILE NAME: ";
7: cin>> filename;
8: cout<< endl<<"ENTER THE SEARCH NAME: ";
9: cin>> searchname;
10: ifstream fin( filename );
11: While( fin >> itemname >> associateitem ){
12: if( strcmp( searchname, itemname ) == 0 ){
13: cout << associateitem << endl;
14: return 0;
15: } // end of if
16: } // end of loop
17: cout << "NAME NOT FOUND" << endl;
18: return 0;
} // end of main
Click Upload Files button:
| Create & Update > File Manager |
|
Click the browse button, then the Upload Files button
|
| Create & Update > File Manager > Easy Upload |
|
|
||||||||
|
| 1 25% discount
is applied to monthly hosting fees for a period of 3 months. Normal monthly
hosting fees resume after this initial period. Price offer is open to new
GeoCities Plus, GeoCities Pro, and Web Hosting customers only. Limit one
offer per customer, and one use per customer on a single account.
Waived setup fee offer is open to new GeoCities Plus, GeoCities Pro, and Web Hosting customers only. Limit one offer per customer, and one use per customer on a single account. Offer expires 12/31/2006. Offers may not be combined with any other offers or discounts, separated, redeemed for cash, or transferred. Other terms and conditions apply; see the Yahoo! Small Business Terms of Service when you sign up. |
Copyright © 2006 Yahoo! Inc. All rights
reserved.
Privacy Policy -
Copyright Policy
- Guidelines
- Terms of Service
- Help
Then Go Back to the File Manager:
|
| Create & Update > File Manager > Easy Upload > Results |
|
|
||||||||||||
|
| 1 25% discount
is applied to monthly hosting fees for a period of 3 months. Normal monthly
hosting fees resume after this initial period. Price offer is open to new
GeoCities Plus, GeoCities Pro, and Web Hosting customers only. Limit one
offer per customer, and one use per customer on a single account.
Waived setup fee offer is open to new GeoCities Plus, GeoCities Pro, and Web Hosting customers only. Limit one offer per customer, and one use per customer on a single account. Offer expires 12/31/2006. Offers may not be combined with any other offers or discounts, separated, redeemed for cash, or transferred. Other terms and conditions apply; see the Yahoo! Small Business Terms of Service when you sign up. |
Copyright © 2006 Yahoo! Inc. All rights
reserved.
Privacy Policy -
Copyright Policy
- Guidelines
- Terms of Service
- Help