Mastermate官网 香港|英国|新加坡|澳大利亚|澳门|深圳硕士研究生申请平台

May sixth cmd fc use of file compare

        today , I'd like to talk about how to test our input and output.   In our programme,we  can  copy  and paste data in our programme. and here is a new way .     cmd ->cf the name of one file ,the name of other file.

       now here is the procees ,you can follow these pictures.

      write down these codes to  open "E.in"file and write "test.out"file.

   first , you already have the right answers in "E.out",and the "E.in"file .

   second,you should put the "E.cpp"and"E.in" in one file.and then run the "E.cpp",you will get the "test.out "in the same file.

 

  third , open the cmd "command windows",put"fc  the position of "E.out"   the position of "test.out"    " ,and you will get the result.

 

and you can find the different in your answers and the right answers.

if the answer is "no difference",congratulations to you. you get the right answer.

 

 

posted @ 2012-05-06 21:42  大嘴鸟  阅读(220)  评论(0编辑  收藏  举报
Mastermate官网 香港|英国|新加坡|澳大利亚|澳门|深圳硕士研究生申请平台