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

/ 36,589评论 / 138860阅读 / 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. Robertperma说道:

    buy prednisone canada mail order prednisone buying prednisone from canada

  2. LewisToite说道:

    http://cytotecbestprice.pro/# Cytotec 200mcg price

  3. PatrickHindy说道:

    http://prednisonebestprice.pro/# prednisone 2 mg daily

  4. LewisToite说道:

    https://cytotecbestprice.pro/# buy cytotec pills online cheap

  5. Matthewnouts说道:

    zithromax antibiotic without prescription: generic zithromax india – zithromax 250 price

  6. Robertperma说道:

    where can i buy zithromax in canada zithromax antibiotic without prescription zithromax over the counter uk

  7. PatrickHindy说道:

    http://cytotecbestprice.pro/# buy cytotec online fast delivery

  8. Matthewnouts说道:

    25 mg prednisone: buy prednisone tablets uk – prednisone 20 mg tablet price

  9. Robertperma说道:

    zithromax 500 mg zithromax online paypal can i buy zithromax over the counter

  10. LewisToite说道:

    https://prednisonebestprice.pro/# prednisone 4 mg daily

  11. PatrickHindy说道:

    http://cytotecbestprice.pro/# order cytotec online

  12. Matthewnouts说道:

    tamoxifen 20 mg: tamoxifen and osteoporosis – cost of tamoxifen

  13. Robertperma说道:

    zithromax 250 mg tablet price generic zithromax india zithromax 250

  14. LewisToite说道:

    https://propeciabestprice.pro/# buy propecia without prescription

  15. PatrickHindy说道:

    http://zithromaxbestprice.pro/# zithromax 500 tablet

  16. Matthewnouts说道:

    propecia for sale: propecia order – how cЙ‘n i get cheap propecia pills

  17. Robertperma说道:

    cost of cheap propecia without dr prescription cost of propecia buy generic propecia

  18. Waynetar说道:

    mexico drug stores pharmacies: mexico drug stores pharmacies – medication from mexico pharmacy

  19. Arnoldscava说道:

    mexican pharmacy mexican border pharmacies shipping to usa mexican pharmaceuticals online

  20. NelsonSaIlk说道:

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

  21. Waynetar说道:

    best online pharmacies in mexico: mexican border pharmacies shipping to usa – buying prescription drugs in mexico online

  22. DominicHOr说道:

    mexican border pharmacies shipping to usa: best online pharmacies in mexico – mexican rx online

  23. NelsonSaIlk说道:

    reputable mexican pharmacies online: mexican pharmaceuticals online – mexican rx online

  24. Arnoldscava说道:

    buying prescription drugs in mexico online mexican pharmaceuticals online best online pharmacies in mexico

  25. DominicHOr说道:

    mexico drug stores pharmacies: mexican drugstore online – buying prescription drugs in mexico online

  26. Arnoldscava说道:

    buying from online mexican pharmacy mexico pharmacies prescription drugs reputable mexican pharmacies online

  27. Waynetar说道:

    medicine in mexico pharmacies: medication from mexico pharmacy – medication from mexico pharmacy

  28. NelsonSaIlk说道:

    mexican rx online: mexican drugstore online – mexican pharmaceuticals online

  29. DominicHOr说道:

    buying prescription drugs in mexico: buying from online mexican pharmacy – purple pharmacy mexico price list

  30. NelsonSaIlk说道:

    purple pharmacy mexico price list: mexican drugstore online – buying prescription drugs in mexico online

  31. Arnoldscava说道:

    mexican pharmaceuticals online mexican border pharmacies shipping to usa mexican pharmacy

  32. DominicHOr说道:

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

  33. Arnoldscava说道:

    buying from online mexican pharmacy mexican pharmacy mexican pharmaceuticals online

  34. Waynetar说道:

    purple pharmacy mexico price list: п»їbest mexican online pharmacies – mexican rx online

  35. NelsonSaIlk说道:

    mexican drugstore online: mexican drugstore online – medication from mexico pharmacy

  36. DominicHOr说道:

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

  37. Waynetar说道:

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

  38. NelsonSaIlk说道:

    mexico pharmacies prescription drugs: buying prescription drugs in mexico online – mexico pharmacies prescription drugs

  39. Arnoldscava说道:

    mexican online pharmacies prescription drugs п»їbest mexican online pharmacies medicine in mexico pharmacies

  40. DominicHOr说道:

    buying prescription drugs in mexico online: mexican drugstore online – mexico drug stores pharmacies

  41. Arnoldscava说道:

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

  42. Waynetar说道:

    mexican mail order pharmacies: mexican border pharmacies shipping to usa – buying prescription drugs in mexico

  43. DominicHOr说道:

    mexico drug stores pharmacies: mexican drugstore online – mexican border pharmacies shipping to usa

  44. Waynetar说道:

    mexican drugstore online: mexican border pharmacies shipping to usa – buying from online mexican pharmacy

  45. DominicHOr说道:

    mexican mail order pharmacies: mexican border pharmacies shipping to usa – purple pharmacy mexico price list

  46. Arnoldscava说道:

    mexico drug stores pharmacies best online pharmacies in mexico buying from online mexican pharmacy

  47. Arnoldscava说道:

    pharmacies in mexico that ship to usa mexico pharmacy buying from online mexican pharmacy

  48. Waynetar说道:

    mexican online pharmacies prescription drugs: mexican online pharmacies prescription drugs – mexican online pharmacies prescription drugs

  49. DominicHOr说道:

    medicine in mexico pharmacies: mexican mail order pharmacies – buying prescription drugs in mexico online

  50. NelsonSaIlk说道:

    medication from mexico pharmacy: mexican mail order pharmacies – mexican drugstore online

发表回复

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