Individual project
This is my first time to get to know c#,though i took the class of c++/c#,i don't think i have learned about the core of these specific languages.
Before coding,what i have to do is to learn the grammer of c#,though c# is more familiar to java to some extend,i have to go through the language over and over again.I have to admit that i am not good at coding or creating a code structure.I supposed i could have done the work in two days,but unfortunatelly maybe i overestimated my ability to solve the problem.
And i spent almost half of a day to choose which language to use for coding ,c++ is more like c language ,but has an OO thingking for some extent.But for c#,it's more unfamiliar to me,but it includes a huge number of functions to use during the time of coding.Then i spent nearly half of a day to look for information through the Internet.After several days thinking of which language to use(i am really confused of all these stuff),I started to learn c# for my project.
I was supposed to finish my work till this Thursday,but i spent nearly two days to learn the language including the grammar,function,etc.In the next few hours,i kept googling the place every time i found that was not familiar to me.I supposed to spent 8 hours coding,but it seemed longer than i expected.Last night,i finished my code until 3:00 AM,i'm not trying to scold that the project was too difficult for me but to think over myself the ability to coding.Maybe it's time to develope my skill.
Here are my 10 test cases,if it is not correct,maybe there is some mistakes in it.sorry...
1.
456edf abc123 aBC123 u2390 ":@$ ^*... ABC123
<ABC123>:3
2.
ABC abc FILE file File DOC doc Doc
<abc>:2
<File>:3
<Doc>:3
3.
Hello world
HELLO WORLD
THANK YOU
thank you
Thank you
<HELLO WORLD>:2
<Thank you>:3
4.
test empty directory ,and the result is:"valid file!"
5.
1234world world world World world world
<world>:3
6.test vast file
7.
asdfgh asdfGh ASDfg HUJIKO hujiko HUjiKO HUJIKO
<ASDfg>:3
<HUjiKO>:3
8.
abcabc abced12 abcabC abced34 abCabc
<abCabc>:3
9.
file FIle FIle 123file file123
<FIle>:3
<file123>:1
10.
test empty file
"valid file!"
What i got from the project is that i am really not good at coding,i searched for all the knowledge i have to learn through the program,it almost cost me like two days to get to know about the language.Maybe it's more easier for me to write some documents about the program,i prefer to learn some details about how to write documents than studying the specific program code.I've heard something from our classmates,the process of this class seems much harder than the other classes,but please be nice to us~THANK YOU~

浙公网安备 33010602011771号