-
Notifications
You must be signed in to change notification settings - Fork 22
Final Project Proposal Sheqi #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Sheqi0620
wants to merge
9
commits into
CPRO-Session1:master
Choose a base branch
from
Sheqi0620:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
427f17d
final project proposal
c4f1dbe
final project proposal
a108fd5
code
2a369c3
executing
cfeb229
introduction
b7ba598
exampleNews
395755a
exampleSorting
e4ddb81
exampleUnsorting
be5ede1
test folder
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| Proposal of Final Project Sheqi | ||
|
|
||
| My plan is to write a program that can calculate the frequency of the words appearing in a document. | ||
|
|
||
| I want to do this because I think it's useful, and I believe the most important characteristic of computer programming is useful. In addition, I can almost handle it with the things I have learend in the summer program. | ||
|
|
||
| Steps: | ||
| 1. Open document 1 and read it, and judge if it opens successfully at the same time. | ||
| 2. If open successfully, as well as not reaching the end of the document, then calculate the frequency of a word. | ||
| 3. Repeat step 2 till the end of the document. | ||
| 4. Close document 1. | ||
| 5. Open document 2 and try to record data on it, and judge if it opens successfully at the same time. | ||
| 6. If open successfully, then record all the words and their frequencies in this document. | ||
| 7. Close document 2. | ||
| 8. Make all words fit in a static order (maybe from "a" to "z"). | ||
| 9. Open document 3 and try to record data in it, and judge if it opens successfully at the same time. | ||
| 10. If open successfully, then record all the words and frequencies in the order in document 3. | ||
| 11. Close document 3. | ||
|
|
||
| How to use loops: | ||
| During the process calculating the frequency of one word. | ||
| How to use advanced datatypes: | ||
| Use structures to combine the words and their frequencies together. | ||
| How to use functions: | ||
| .... | ||
| How to use arrays: | ||
| In the process of calculating the frequency of one word. | ||
| Arrays: | ||
| In the structure. | ||
|
|
||
| External Library: | ||
| stdio.h | ||
| string.h | ||
| assert.h | ||
| ctype.h | ||
| math.h (maybe) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds like a great idea! Just to make sure, what functions do you think you would need to write in this program?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, how would you use structures or enumerated lists?