:
1. “dictionary.txt“ ,
143091 , 1, 45, a-z
24 “ ’” 。 ,
。
2. , test,
key, debug,
。
3. ,(
, “ ’” 24 , ),
, 5。
4. : , : “ abandon’s” ,
“ AbanDon’s” , 。
5. , :
[111th Congress Public Law 148]
[From the U.S. Government Printing Office]
[[Page 124 STAT. 119]]
Public Law 111-148
111th Congress
:
a
aaa
aaas
aachen
aalborg
[… dictionary.txt …]
zygotes
zymurgy
[111th Congress Public Law 148]
[From the U.S. Government Printing Office]
[[Page 124 STAT. 119]]
Public Law 111-148
111th Congress
dictionary, (,) :
U
S
STAT
Words Misspelled: 3
(), ,
:
th congress public law
from the u s government printing office
page stat
public law
th congress
。
6. , ,,
( scanf), dictionary.txt,
,( printf)。“ zymurgy”
, EOF( scanf, EOF
, EOF)。
7. Ubuntu cs50.h , (
stdio.h、 string.h、 ctype.h、 string)。 C++ string C
char( )。
8. cs50 , Ubuntu ,
windows/mac C IDE。 cs50
。 cs50 ,
( )
cs50:
⚫ homework2 , cs50 workspcae,
⚫ homework2 cpp c
⚫ ,
⚫ run.sh,
ubuntu:
⚫ , submit50 ,
homework2 () 。
⚫ scratch ,
,()。
, !
,。
:
⚫ chmod +x [run.sh ] (ubuntu
)
⚫ run.sh,()
test2.cpp, :
/home/lee/Desktop/homework2/run.sh test2
。