最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

2013年09月的内容

【已解决】antlr中尝试出错就退出,结果编译parser出错:error: recoverFromMismatchedSet(IntStream,RecognitionException,BitSet) in xxxParser cannot override recoverFromMismatchedSet(IntStream,RecognitionException,BitSet) in BaseRecognizer,return type void is not compatible with Object
ANTLR

【已解决】antlr中尝试出错就退出,结果编译parser出错:error: recoverFromMismatchedSet(IntStream,RecognitionException,BitSet) in xxxParser cannot override recoverFromMismatchedSet(IntStream,RecognitionException,BitSet) in BaseRecognizer,return type void is not compatible with Object

crifan 11年前 (2013-09-22) 2956浏览 0评论

【问题】 折腾antlr的异常恢复。 参考: The Definitive ANTLR Reference.pdf 中,添加上对应的代码: @members { protected void mismatch(IntStream input,...

【已解决】go语言中获得控制台输入的字符串
GO

【已解决】go语言中获得控制台输入的字符串

crifan 11年前 (2013-09-21) 7807浏览 0评论

【背景】 折腾: 【记录】用go语言实现模拟登陆百度 期间,需要去获得输入的百度的用户名和密码,所以需要去搞懂: go语言中,如何获得console,此处是windows的cmd的输入。 【折腾过程】 1.参考: Golang function si...

【已解决】go语言中的字典类型变量:map
GO

【已解决】go语言中的字典类型变量:map

crifan 11年前 (2013-09-21) 3034浏览 0评论

【背景】 折腾: 【记录】用go语言实现模拟登陆百度 期间,需要去实现go语言中的字典类型的变量,以便去存放对应的http的post data。 【折腾过程】 1.之前是学习了: https://gobyexample.com/ 中的: https:...

【整理】go语言的学习参考资料
GO

【整理】go语言的学习参考资料

crifan 11年前 (2013-09-21) 2348浏览 0评论

此处整理一些,go语言的API文档,学习资料,参考资料,有价值的资料等等。   go语言学习资料   Go by Example 英文的。 网址:https://gobyexample.com/ 通过例子,一点点学习。 教程写的言...

60 queries in 0.311 seconds, using 21.98MB memory