-
Notifications
You must be signed in to change notification settings - Fork 2k
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
练习10.5 错了 #52
Comments
|
c风格的字符串是不能直接比较的,它只是个地址而已呀 |
可以运行一下,看看结果 |
|
具体我也没想明白 |
看看13.4,答案感觉有问题。直接初始化它说用了拷贝构造,看不懂。
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年11月26日(星期六) 凌晨0:02
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [applenob/Cpp_Primer_Practice] 练习10.5 错了 (Issue #52)
具体我也没想明白
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
有10.5题吗?发一下页号 |
泛型算法equal使用的前提是元素可以用"=="比较,但是你这个不能用==比较,为什么运行得了
我觉得要看一下底层它是怎么实现的才能知道,现在还没能力看源码,帮不了你。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2022年11月26日(周六) 凌晨0:02
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [applenob/Cpp_Primer_Practice] 练习10.5 错了 (Issue #52)
具体我也没想明白
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用 c风格的字符串比较 还是会相等的, 比较的还是 字符
The text was updated successfully, but these errors were encountered: