摘要: 1 package main 2 3 import ( 4 "encoding/json" 5 "fmt" 6 "github.com/julienschmidt/httprouter" 7 "net/http" 8 ) 9 10 //ResponseWriter是一个接口 拥有三个方法 Write 阅读全文
posted @ 2020-03-30 13:56 萌萌~ 阅读(2306) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-03-30 08:34 萌萌~ 阅读(342) 评论(0) 推荐(0) 编辑