摘要:
1 package main 2 3 import ( 4 "encoding/json" 5 "fmt" 6 "github.com/julienschmidt/httprouter" 7 "net/http" 8 ) 9 10 //ResponseWriter是一个接口 拥有三个方法 Write 阅读全文
摘要:
1 #include <iostream> 2 #include <fstream> 3 4 using namespace std; 5 6 void check_cin (istream &is) 7 { 8 if(is.bad())//系统级的错误才会bad 9 { 10 cout<<"cin 阅读全文