会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
幸运使者
博客园
首页
新随笔
联系
订阅
管理
2019年8月26日
go 写文件
摘要: package main import ( "fmt" "os" ) type student struct { Name string Age int Score float32 } //从字符串中格式化输入 func formateFromstr() { str := "stu01 18 89.92" var stu student fmt.Sscanf(str, "%s %d %f", &s
阅读全文
posted @ 2019-08-26 19:49 幸运使者
阅读(179)
评论(0)
推荐(0)
编辑
公告