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

/ 35,837评论 / 130083阅读 / 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. NelsonSaIlk说道:

    mexico drug stores pharmacies: pharmacies in mexico that ship to usa – mexican border pharmacies shipping to usa

  2. Waynetar说道:

    mexican rx online: reputable mexican pharmacies online – mexico drug stores pharmacies

  3. DominicHOr说道:

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

  4. NelsonSaIlk说道:

    best online pharmacies in mexico: pharmacies in mexico that ship to usa – best online pharmacies in mexico

  5. Arnoldscava说道:

    mexico pharmacies prescription drugs mexican mail order pharmacies mexico pharmacy

  6. Waynetar说道:

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

  7. DominicHOr说道:

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

  8. NelsonSaIlk说道:

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

  9. Waynetar说道:

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

  10. DominicHOr说道:

    medicine in mexico pharmacies: medication from mexico pharmacy – reputable mexican pharmacies online

  11. Arnoldscava说道:

    best online pharmacies in mexico medication from mexico pharmacy pharmacies in mexico that ship to usa

  12. NelsonSaIlk说道:

    mexico pharmacies prescription drugs: mexican drugstore online – medicine in mexico pharmacies

  13. Arnoldscava说道:

    reputable mexican pharmacies online reputable mexican pharmacies online mexican pharmaceuticals online

  14. Waynetar说道:

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

  15. DominicHOr说道:

    mexico drug stores pharmacies: medication from mexico pharmacy – mexican border pharmacies shipping to usa

  16. Waynetar说道:

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

  17. DominicHOr说道:

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

  18. Arnoldscava说道:

    mexico pharmacy mexican pharmaceuticals online mexican pharmaceuticals online

  19. NelsonSaIlk说道:

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

  20. Waynetar说道:

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

  21. DominicHOr说道:

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

  22. RichardMonge说道:

    https://mexicandeliverypharma.online/# mexico drug stores pharmacies

  23. Waynetar说道:

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

  24. NelsonSaIlk说道:

    purple pharmacy mexico price list: buying from online mexican pharmacy – pharmacies in mexico that ship to usa

  25. DominicHOr说道:

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

  26. Arnoldscava说道:

    mexican pharmaceuticals online mexico drug stores pharmacies mexican online pharmacies prescription drugs

  27. NelsonSaIlk说道:

    mexico pharmacies prescription drugs: mexican mail order pharmacies – mexican pharmaceuticals online

  28. Arnoldscava说道:

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

  29. RichardMonge说道:

    https://mexicandeliverypharma.online/# mexican drugstore online

  30. Waynetar说道:

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

  31. Waynetar说道:

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

  32. Arnoldscava说道:

    buying from online mexican pharmacy purple pharmacy mexico price list mexican drugstore online

  33. RichardMonge说道:

    https://mexicandeliverypharma.online/# buying from online mexican pharmacy

  34. Arnoldscava说道:

    mexico pharmacy mexico pharmacies prescription drugs mexico pharmacies prescription drugs

  35. DominicHOr说道:

    mexican pharmaceuticals online: mexican mail order pharmacies – mexican mail order pharmacies

  36. Waynetar说道:

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

  37. RichardMonge说道:

    https://mexicandeliverypharma.com/# pharmacies in mexico that ship to usa

  38. Waynetar说道:

    mexican pharmaceuticals online: mexico drug stores pharmacies – mexican rx online

  39. DominicHOr说道:

    purple pharmacy mexico price list: mexican pharmaceuticals online – mexican drugstore online

  40. Arnoldscava说道:

    mexican pharmaceuticals online medication from mexico pharmacy medicine in mexico pharmacies

  41. Ola说道:

    This website was… how do you say it? Relevant!!
    Finally I have found something that helped me. Thanks!

  42. Arnoldscava说道:

    buying prescription drugs in mexico mexican rx online mexican drugstore online

  43. RichardMonge说道:

    https://mexicandeliverypharma.com/# п»їbest mexican online pharmacies

  44. Waynetar说道:

    mexican online pharmacies prescription drugs: mexican border pharmacies shipping to usa – medication from mexico pharmacy

  45. DominicHOr说道:

    reputable mexican pharmacies online: buying from online mexican pharmacy – п»їbest mexican online pharmacies

  46. DominicHOr说道:

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

  47. Waynetar说道:

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

  48. RichardMonge说道:

    https://mexicandeliverypharma.com/# buying prescription drugs in mexico online

  49. Arnoldscava说道:

    mexico drug stores pharmacies mexican rx online mexico drug stores pharmacies

  50. Arnoldscava说道:

    mexico drug stores pharmacies mexican mail order pharmacies mexico drug stores pharmacies

发表回复

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