无符号整形(unsigned) 和 有符号整形(int) 的比较会默认强制转换为 无符号类型(unsigned)
- 先来看示例代码,这里以 int a = -1 和 unsigned int b = 77 来做大小比较:
#include <iostream>
using namespace std;
int main()
{
int a = -1;
unsigned int b = 77;
if (a > b) //a > b = true
cout << "a > b" << endl;
else
cout << "a < b" << endl;
cout << " a = " << a << endl;
cout << " b = " << b << endl;
}
- 运行结果
- 如下图,a = -1,b = 77,但比较结果却是a > b, 即-1 > 77
- 原因正是两者类型不同导致的,这如果在实际项目中遇到了,在debug的时候真的感觉是见鬼了。
dark web websites darknet websites
tor markets links deep dark web
darknet sites blackweb
bitcoin dark web dark internet
darknet drug store dark internet
darknet search engine blackweb
darknet drugs deep dark web
darknet market links dark web search engine
blackweb dark web links
dark web access darkmarket link
dark web sites links deep web drug markets
tor market url deep web drug links
dark web access darknet marketplace
dark web drug marketplace how to get on dark web
deep web drug store darknet seiten
darkmarket link dark markets
bitcoin dark web deep web drug url
tor markets darknet sites
dark web sites free dark web
darknet site dark net
darknet drugs darkmarket 2023
dark web websites blackweb
darkmarket url darknet marketplace
dark web links deep dark web
dark web access dark markets 2023
dark web site how to get on dark web
dark market link drug markets onion
dark markets blackweb official website
best darknet markets drug markets dark web
darkmarket 2023 deep web drug url
how to get on dark web darkmarket link
tor darknet the dark internet
deep web drug url dark website
dark web search engine darknet drug market
bitcoin dark web darkmarket 2023
dark markets 2023 deep web links
dark web site dark web links
dark markets dark web site
tor market links deep web sites
dark market list tor darknet
dark market onion drug markets onion
darknet drug market dark net
darkweb marketplace darknet drugs
tor markets dark market url
deep dark web dark website
darkweb marketplace darknet sites
tor markets 2023 darkweb marketplace
dark web market list drug markets onion
deep web search darkmarkets
darknet sites tor marketplace