ssercpp12 / Homework

Homework result for 12 sser cpp
1 stars 8 forks source link

about vs2010 hw3 #7

Closed fuyang940705 closed 11 years ago

fuyang940705 commented 11 years ago

while (infile.good())这句话在vs2010上永远都是错的。我在devC++上测试是对的。 怎么回事? 好像是vs2010 不能 infile.get(),还是我把file.in的位置放错了,VS找不到?

zhchbin commented 11 years ago

In vs2010, the file.in should be put it the place where your sln file been located.

--..
  --- yourproject.sln
  --- file.in
fuyang940705 commented 11 years ago

Thx !! I put fili.in together with main.cpp before.