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

/ 36,520评论 / 137886阅读 / 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. DavidWaype说道:

    mexico pharmacy: mexican pharmacy – mexico drug stores pharmacies

  2. Michaelpiepe说道:

    world pharmacy india: india pharmacy mail order – cheapest online pharmacy india

  3. Charlestaf说道:

    indianpharmacy com buy prescription drugs from india top 10 pharmacies in india

  4. DavidWaype说道:

    best canadian pharmacy to order from: cross border pharmacy canada – onlinecanadianpharmacy

  5. Michaelpiepe说道:

    indian pharmacy: online shopping pharmacy india – reputable indian online pharmacy

  6. EdwardKib说道:

    https://indiapharmast.com/# buy prescription drugs from india

  7. Charlestaf说道:

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

  8. DavidWaype说道:

    buy medicines online in india: buy prescription drugs from india – india online pharmacy

  9. DavidWaype说道:

    pharmacies in mexico that ship to usa: mexican online pharmacies prescription drugs – buying prescription drugs in mexico online

  10. Charlestaf说道:

    pharmacies in mexico that ship to usa reputable mexican pharmacies online buying prescription drugs in mexico online

  11. Michaelpiepe说道:

    indian pharmacies safe: buy medicines online in india – best online pharmacy india

  12. Michaelpiepe说道:

    india online pharmacy: cheapest online pharmacy india – pharmacy website india

  13. DavidWaype说道:

    indian pharmacy paypal: top 10 pharmacies in india – reputable indian pharmacies

  14. Charlestaf说道:

    canadian pharmacy 365 canadian pharmacy online best canadian pharmacy online

  15. Hey There. I found your weblog using msn. This is a very well written article.

    I will make sure to bookmark it and return to read extra of your
    helpful info. Thanks for the post. I’ll definitely return.

  16. MichaelLit说道:

    mexico drug stores pharmacies
    https://cmqpharma.com/# mexico drug stores pharmacies
    mexican rx online

  17. IrvinSom说道:

    buying prescription drugs in mexico online: cmq pharma mexican pharmacy – mexico pharmacies prescription drugs

  18. Ronniecug说道:

    mexico drug stores pharmacies mexican pharmacy online mexico pharmacies prescription drugs

  19. Ronniecug说道:

    mexican rx online mexican pharmacy online mexico pharmacies prescription drugs

  20. Ronniecug说道:

    best online pharmacies in mexico mexican online pharmacy mexico pharmacy

  21. Ronniecug说道:

    mexican pharmaceuticals online mexican online pharmacy mexican mail order pharmacies

  22. Ronniecug说道:

    medicine in mexico pharmacies mexico pharmacy mexican rx online

  23. Ronniecug说道:

    mexican drugstore online cmq pharma mexican pharmacy mexico drug stores pharmacies

  24. Ronniecug说道:

    mexico drug stores pharmacies mexico pharmacy reputable mexican pharmacies online

  25. Ronniecug说道:

    buying from online mexican pharmacy cmq pharma mexican pharmacy buying prescription drugs in mexico

  26. JeffreySlord说道:

    http://cmqpharma.com/# best online pharmacies in mexico
    mexican pharmacy

  27. Ronniecug说道:

    mexican mail order pharmacies mexican pharmacy mexican online pharmacies prescription drugs

  28. WilliamGlapy说道:

    best online pharmacies in mexico: mexican pharmacy northern doctors – reputable mexican pharmacies online

  29. JeffreyBuing说道:

    https://northern-doctors.org/# mexican mail order pharmacies

  30. WilliamGlapy说道:

    mexican drugstore online: mexican pharmacy – п»їbest mexican online pharmacies

  31. WilliamGlapy说道:

    reputable mexican pharmacies online: northern doctors – mexico pharmacies prescription drugs

  32. JeffreyBuing说道:

    https://northern-doctors.org/# п»їbest mexican online pharmacies

  33. RichardBlelt说道:

    п»їbest mexican online pharmacies northern doctors pharmacy mexican rx online

  34. WilliamGlapy说道:

    mexican online pharmacies prescription drugs: Mexico pharmacy that ship to usa – buying from online mexican pharmacy

  35. JeffreyBuing说道:

    https://northern-doctors.org/# medicine in mexico pharmacies

  36. WilliamGlapy说道:

    pharmacies in mexico that ship to usa: northern doctors – mexican drugstore online

  37. JeffreyBuing说道:

    https://northern-doctors.org/# medicine in mexico pharmacies

  38. WilliamGlapy说道:

    purple pharmacy mexico price list: mexican northern doctors – mexican drugstore online

  39. JeffreyBuing说道:

    http://northern-doctors.org/# reputable mexican pharmacies online

  40. WilliamGlapy说道:

    mexican drugstore online: mexican pharmacy – pharmacies in mexico that ship to usa

  41. JeffreyBuing说道:

    http://northern-doctors.org/# reputable mexican pharmacies online

  42. RichardBlelt说道:

    mexican rx online Mexico pharmacy that ship to usa reputable mexican pharmacies online

  43. WilliamGlapy说道:

    medicine in mexico pharmacies: mexican northern doctors – mexican rx online

  44. WilliamGlapy说道:

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

  45. JeffreyBuing说道:

    http://northern-doctors.org/# buying from online mexican pharmacy

  46. WilliamGlapy说道:

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

  47. WilliamGlapy说道:

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

  48. JeffreyBuing说道:

    http://northern-doctors.org/# mexico drug stores pharmacies

  49. WilliamGlapy说道:

    mexico drug stores pharmacies: northern doctors – best online pharmacies in mexico

发表回复

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