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

完成了hw05 #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

完成了hw05 #46

wants to merge 2 commits into from

Conversation

gknagoing
Copy link

这是第一次在github上提交PR,感觉很差劲。PS:我是先将代码在clion上运行通过后,在复制到源文件中的。

@gknagoing
Copy link
Author

其中有一个test2函数,将test2改成main函数,进能够运行。
test2我将test下的用户依次do_register do_login do_queryuser 并打印出返回的信息。

我发现在 lambda表达式设置了返回值std::string 但是没有将std::string return的话会报错(do_login do_queryuser 的时候会报错。do_register 却不会)

很奇怪,这在我代码里面我添加了注释。

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

Successfully merging this pull request may close these issues.

None yet

1 participant