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

/ 36,590评论 / 138867阅读 / 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. Waynetar说道:

    medicine in mexico pharmacies: mexico drug stores pharmacies – buying prescription drugs in mexico online

  2. DominicHOr说道:

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

  3. Arnoldscava说道:

    mexican pharmaceuticals online mexican rx online buying prescription drugs in mexico online

  4. NelsonSaIlk说道:

    mexico drug stores pharmacies: medicine in mexico pharmacies – mexican mail order pharmacies

  5. Arnoldscava说道:

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

  6. Waynetar说道:

    mexican drugstore online: medicine in mexico pharmacies – mexican border pharmacies shipping to usa

  7. NelsonSaIlk说道:

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

  8. Waynetar说道:

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

  9. DominicHOr说道:

    mexican border pharmacies shipping to usa: best online pharmacies in mexico – buying from online mexican pharmacy

  10. Arnoldscava说道:

    buying from online mexican pharmacy mexican pharmaceuticals online reputable mexican pharmacies online

  11. NelsonSaIlk说道:

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

  12. Waynetar说道:

    purple pharmacy mexico price list: medicine in mexico pharmacies – medicine in mexico pharmacies

  13. DominicHOr说道:

    best online pharmacies in mexico: mexican drugstore online – medicine in mexico pharmacies

  14. NelsonSaIlk说道:

    mexican pharmaceuticals online: buying prescription drugs in mexico online – п»їbest mexican online pharmacies

  15. Waynetar说道:

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

  16. DominicHOr说道:

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

  17. Arnoldscava说道:

    reputable mexican pharmacies online п»їbest mexican online pharmacies mexican online pharmacies prescription drugs

  18. NelsonSaIlk说道:

    mexican mail order pharmacies: buying prescription drugs in mexico – purple pharmacy mexico price list

  19. Arnoldscava说道:

    best online pharmacies in mexico п»їbest mexican online pharmacies buying from online mexican pharmacy

  20. Waynetar说道:

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

  21. DominicHOr说道:

    mexico drug stores pharmacies: buying from online mexican pharmacy – buying from online mexican pharmacy

  22. NelsonSaIlk说道:

    medication from mexico pharmacy: reputable mexican pharmacies online – mexican pharmaceuticals online

  23. Waynetar说道:

    mexican border pharmacies shipping to usa: mexican online pharmacies prescription drugs – reputable mexican pharmacies online

  24. DominicHOr说道:

    mexico drug stores pharmacies: п»їbest mexican online pharmacies – buying prescription drugs in mexico online

  25. Arnoldscava说道:

    mexico drug stores pharmacies buying from online mexican pharmacy mexican pharmacy

  26. NelsonSaIlk说道:

    best online pharmacies in mexico: reputable mexican pharmacies online – mexico drug stores pharmacies

  27. Arnoldscava说道:

    mexican drugstore online mexico pharmacy medicine in mexico pharmacies

  28. Waynetar说道:

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

  29. NelsonSaIlk说道:

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

  30. Waynetar说道:

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

  31. DominicHOr说道:

    mexican mail order pharmacies: mexico drug stores pharmacies – mexico drug stores pharmacies

  32. Arnoldscava说道:

    mexico drug stores pharmacies purple pharmacy mexico price list mexican pharmacy

  33. NelsonSaIlk说道:

    pharmacies in mexico that ship to usa: п»їbest mexican online pharmacies – mexican border pharmacies shipping to usa

  34. Waynetar说道:

    mexico pharmacies prescription drugs: reputable mexican pharmacies online – mexico drug stores pharmacies

  35. DominicHOr说道:

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

  36. NelsonSaIlk说道:

    pharmacies in mexico that ship to usa: purple pharmacy mexico price list – buying prescription drugs in mexico

  37. Waynetar说道:

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

  38. DominicHOr说道:

    mexico drug stores pharmacies: mexico drug stores pharmacies – mexican drugstore online

  39. Arnoldscava说道:

    reputable mexican pharmacies online mexican border pharmacies shipping to usa buying prescription drugs in mexico

  40. NelsonSaIlk说道:

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

  41. Arnoldscava说道:

    buying prescription drugs in mexico medication from mexico pharmacy pharmacies in mexico that ship to usa

  42. Waynetar说道:

    mexico drug stores pharmacies: purple pharmacy mexico price list – mexican online pharmacies prescription drugs

  43. DominicHOr说道:

    best online pharmacies in mexico: mexico drug stores pharmacies – medicine in mexico pharmacies

  44. NelsonSaIlk说道:

    mexican online pharmacies prescription drugs: purple pharmacy mexico price list – mexico drug stores pharmacies

  45. Waynetar说道:

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

  46. DominicHOr说道:

    mexican online pharmacies prescription drugs: mexico pharmacies prescription drugs – mexico drug stores pharmacies

  47. Arnoldscava说道:

    mexico pharmacies prescription drugs mexico pharmacies prescription drugs mexico pharmacy

  48. NelsonSaIlk说道:

    purple pharmacy mexico price list: medication from mexico pharmacy – mexican mail order pharmacies

  49. Waynetar说道:

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

  50. DominicHOr说道:

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

发表回复

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