【文件属性】:
文件名称:web disgen with dreamweave
文件大小:1.91MB
文件格式:PDF
更新时间:2011-10-05 20:42:54
web disgen,dreamweave
Hint
If you don't know how to determine wheather encounted the end of input:
s is a string and n is an integer
C++
while(cin>>s>>n)
{
...
}
c
while(scanf("%s%d",s,&n)==2) //to see if the scanf read in as many items as you want
/*while(scanf(%s%d",s,&n)!=EOF) //this also work */
{
...
}