Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ch2-exercise2.2 undefined: Celsius #17

Closed
wei98k opened this issue Nov 8, 2021 · 0 comments
Closed

ch2-exercise2.2 undefined: Celsius #17

wei98k opened this issue Nov 8, 2021 · 0 comments

Comments

@wei98k
Copy link

wei98k commented Nov 8, 2021

go run main.go -weight 33如果直接运行提示

 command-line-arguments
./main.go:55:37: undefined: Celsius
./main.go:55:52: undefined: CToK
./main.go:55:57: undefined: Celsius
./main.go:63:50: too many errors

正确执行 �cd ch2/exercise2.2 && go build 构建成可执行文件后 ./exercise2.2 -weight 33

@wei98k wei98k closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant