[c/c++]unsigned和int的比较会默认强制转换为unsigned

/ 36,579评论 / 138717阅读 / 0点赞

无符号整形(unsigned) 和 有符号整形(int) 的比较会默认强制转换为 无符号类型(unsigned)

#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;
}
  1. LarryBow说道:

    matadorbet giris matadorbet giris matadorbet

  2. Dereknef说道:

    deneme bonusu veren siteler yeni: deneme bonusu veren siteler betturkey – deneme bonusu veren siteler denemebonusu2026.com

  3. LarryBow说道:

    matadorbet bid matadorbet.bid matadorbet

  4. Dereknef说道:

    deneme bonusu veren yeni siteler: deneme bonusu veren siteler 2024 – deneme bonusu veren siteler mycbet.com

  5. ClydeTal说道:

    ultrabet giris: ultrabet tr online – ultrabet

  6. JorgeSEk说道:

    purple pharmacy mexico price list: Mexican pharmacy ship US – medication from mexico pharmacy

  7. BrandonGak说道:

    ed supplements: low cost pharmacy – over the counter ed

  8. DevonStolf说道:

    https://mexicanpharm24.cheap/# mexican online pharmacies prescription drugs
    best natural ed treatment

  9. Williambiz说道:

    best online canadian pharmacy http://mexicanpharm24.cheap/# mexican drugstore online

  10. JorgeSEk说道:

    best online pharmacies in mexico: mexican pharmacy – mexican rx online

  11. BrandonGak说道:

    buy prescription drugs online without: cheap prescription drugs – prescription drugs online without doctor

  12. Williambiz说道:

    best ed medication http://indianpharm24.pro/# india pharmacy

  13. DevonStolf说道:

    https://indianpharm24.pro/# Online medicine order
    prescription drugs without doctor approval

  14. JorgeSEk说道:

    п»їbest mexican online pharmacies: mexican pharm 24 – mexico drug stores pharmacies

  15. Leroytrupt说道:

    online canadian pharmacy cheap meds the canadian drugstore

  16. Williambiz说道:

    buy prescription drugs online https://pharm24.pro/# ed products

  17. BrandonGak说道:

    world pharmacy india: Indian pharmacy international shipping – online shopping pharmacy india

  18. Leroytrupt说道:

    reputable indian online pharmacy indian pharm 24 п»їlegitimate online pharmacies india

  19. DevonStolf说道:

    http://pharm24.pro/# impotence pills
    how to cure ed

  20. JorgeSEk说道:

    best online pharmacies in mexico: mexico pharmacy – buying from online mexican pharmacy

  21. Leroytrupt说道:

    mexican border pharmacies shipping to usa mexico pharmacy buying from online mexican pharmacy

  22. Williambiz说道:

    male enhancement https://indianpharm24.pro/# pharmacy website india

  23. Leroytrupt说道:

    cure for ed cheap pharmacy online ed pills online pharmacy

  24. DevonStolf说道:

    https://mexicanpharm24.cheap/# best online pharmacies in mexico
    remedies for ed

  25. JorgeSEk说道:

    best drugs for erectile dysfunction: cheap pharmacy online – ed vacuum pump

  26. BrandonGak说道:

    buying prescription drugs in mexico online: mexican drugs – mexican rx online

  27. Williambiz说道:

    drug store online http://indianpharm24.pro/# Online medicine home delivery

  28. Leroytrupt说道:

    best online pharmacy low cost pharmacy erection pills

  29. DevonStolf说道:

    http://mexicanpharm24.cheap/# mexico pharmacies prescription drugs
    ed dysfunction

  30. JorgeSEk说道:

    indian pharmacy online: Indian pharmacy international shipping – reputable indian pharmacies

  31. Leroytrupt说道:

    buying prescription drugs in mexico mexico pharmacy mexican online pharmacies prescription drugs

  32. Williambiz说道:

    how to get prescription drugs without doctor http://indianpharm24.pro/# top 10 pharmacies in india

  33. BrandonGak说道:

    online pharmacy india: medicines from India – buy medicines online in india

  34. JorgeSEk说道:

    mexico drug stores pharmacies: mexico pharmacy – mexico drug stores pharmacies

  35. Williambiz说道:

    ed causes and cures https://pharm24.pro/# erectional dysfunction

  36. Leroytrupt说道:

    buying prescription drugs in mexico online mexico pharmacy п»їbest mexican online pharmacies

  37. Leroytrupt说道:

    india pharmacy mail order medicines from India top 10 online pharmacy in india

  38. BrandonGak说道:

    hims ed pills: cheap meds – ed meds online without doctor prescription

  39. JorgeSEk说道:

    india pharmacy: Best Indian pharmacy – п»їlegitimate online pharmacies india

  40. Leroytrupt说道:

    canadian online drugs low cost pharmacy vacuum pump for ed

  41. TommyJew说道:

    stromectol: stromectol delivery usa – stromectol delivery usa

  42. WilliamTub说道:

    Patient Portal: rybelsus price – Patient Portal

  43. RobertObefe说道:

    compare the best prices: Care provides – licensed gabapentin

  44. WilliamTub说道:

    find bets price: good price – stromectol best price

  45. Russellwar说道:

    http://semaglutide.ink/# Urgent Specialists

  46. WilliamTub说道:

    semaglutide online: rybelsus price – Regenerative Medicine

  47. RobertObefe说道:

    good price: find bets price – cheapest

  48. Russellwar说道:

    https://gabapentin1st.pro/# Neurontin online

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注