windows下64位gcc的安装和使用
mingw-w64-install.zip 参考文章 http://www.manongjc.com… 继续阅读 windows下64位gcc的安装和使用
mingw-w64-install.zip 参考文章 http://www.manongjc.com… 继续阅读 windows下64位gcc的安装和使用
test2.zip package main import ( “bufio” “fmt” “io”… 继续阅读 GO文件操作练习题
拷贝图像文件 package main import ( “os” “fmt” “io” ) fun… 继续阅读 GO拷贝和读取英文TXT字典案例
package main import ( “os” “fmt” “io” “bufio” ) fu… 继续阅读 GO文件读取内容
package main import ( “os” “fmt” ) func main0601()… 继续阅读 GO文件写入
error接口 package main import ( “fmt” “errors” ) fun… 继续阅读 GO error异常接口
空接口的使用 package main import “fmt” func main0701() {… 继续阅读 GO空接口定义和使用及类型断言
package main import “fmt” type Humaner interface {… 继续阅读 GO接口继承和转换
package main import “fmt” //先定义接口 在根据接口实现功能 type H… 继续阅读 GO多态实现和接口编程
package main import “fmt” //先定义接口 在根据接口实现功能 type H… 继续阅读 GO接口interface定义使用
本段代码是我编写的案例 参照案例2 package main import “fmt” //面向对象… 继续阅读 GO面向对象综合练习-计算器实现
package main import “fmt” type student9 struct { n… 继续阅读 GO方法表达式
package main import “fmt” type person8 struct { id… 继续阅读 GO方法重写
package main import ( “fmt” ) /* 记者:我是记者 我的爱好是偷拍 我… 继续阅读 GO方法继承
在Go语言中,可以给任意类型(包括内置类型,但不包括指针类型)添加相应的方法。 如下面的这个例子,定… 继续阅读 GO对象方法的创建和使用