| |

VerySource

 Forgot password?
 Register
Search
Author: xjhs1984

The problem of == in vc ++, waiting online

[Copy link]

1

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-3-28 11:00:01
| Show all posts
Is a master, not 2 ^-^
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-3-28 14:45:02
| Show all posts
The 2 masters upstairs have tried overloading = not overloading ==, is it definitely not working?
I haven't tried it, but it shouldn't work. = And == are completely different. They are two different operators.
Reply

Use magic Report

0

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-3-28 15:00:02
| Show all posts
They should not be tried, they are not an operator, and they have different meanings. !! !!
Reply

Use magic Report

1

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-3-28 18:45:01
| Show all posts
So sure?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-4-2 21:00:01
| Show all posts
To overload the operator "==" in class A
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list