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

/ 36,582评论 / 138751阅读 / 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. TimothyPob说道:

    legit canadian pharmacy online: Cheapest online pharmacy – reputable canadian online pharmacy

  2. TimothyPob说道:

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

  3. TimothyPob说道:

    reputable canadian online pharmacy: Online medication home delivery – best canadian online pharmacy

  4. TimothyPob说道:

    india pharmacy: indian pharmacy paypal – indianpharmacy com

  5. Rogermycle说道:

    india pharmacy mail order: indian pharmacy – top online pharmacy india

  6. Rogermycle说道:

    legit canadian online pharmacy: Pharmacies in Canada that ship to the US – ordering drugs from canada

  7. TimothyPob说道:

    canadian pharmacy 24 com: Online medication home delivery – canadian pharmacy 24

  8. TimothyPob说道:

    pharmacy com canada: Cheapest online pharmacy – ed drugs online from canada

  9. JamesIneli说道:

    http://indiadrugs.pro/# indian pharmacy

  10. JamesIneli说道:

    http://canadapharma.shop/# canada drug pharmacy

  11. TimothyPob说道:

    canadian pharmacy checker: Cheapest online pharmacy – buy drugs from canada

  12. TimothyPob说道:

    canadian pharmacy mall: Online medication home delivery – online canadian pharmacy review

  13. Sergiosem说道:

    https://ventolininhaler.pro/# ventolin prescription discount

  14. JosephhounK说道:

    lasix: furosemide online – lasix tablet

  15. JosephhounK说道:

    buy prednisone mexico: prednisone 20mg online without prescription – prednisone 10 tablet

  16. JosephhounK说道:

    neurontin 200 mg capsules: neurontin 100 mg – buy gabapentin online

  17. JosephhounK说道:

    lasix generic: buy furosemide – lasix generic

  18. JosephBer说道:

    buy semaglutide online: rybelsus cost – semaglutide

  19. Davidnoilk说道:

    furosemide 100mg: lasix – buy furosemide online

  20. JosephBer说道:

    ventolin with out prescription: ventolin uk pharmacy – ventolin 50 mg

  21. Davidnoilk说道:

    lasix 100 mg: cheap lasix – furosemide 100mg

  22. JosephhounK说道:

    prednisone prices: how much is prednisone 5mg – prednisone buy no prescription

  23. JosephhounK说道:

    rybelsus price: buy rybelsus – rybelsus

  24. Sergiosem说道:

    http://rybelsus.tech/# rybelsus generic

  25. JosephhounK说道:

    how to get prednisone without a prescription: prednisone without prescription.net – 1 mg prednisone cost

  26. JosephhounK说道:

    buy semaglutide online: Rybelsus 7mg – Rybelsus 7mg

  27. JosephhounK说道:

    generic lasix: lasix furosemide 40 mg – lasix generic

  28. JosephhounK说道:

    prednisone brand name: order prednisone 10mg – prednisone 10 mg coupon

  29. JosephBer说道:

    ventolin tablets buy: Ventolin inhaler price – ventolin price uk

  30. JosephBer说道:

    neurontin india: neurontin generic cost – neurontin 100mg price

  31. JosephhounK说道:

    furosemide 40 mg: lasix generic name – buy furosemide online

  32. Davidnoilk说道:

    neurontin 150mg: buying neurontin online – prescription drug neurontin

  33. Davidnoilk说道:

    brand prednisone: prednisone where can i buy – prednisone buy without prescription

  34. JosephhounK说道:

    prednisone 20 mg without prescription: order prednisone from canada – buy prednisone 10mg

  35. JosephhounK说道:

    rybelsus: Buy semaglutide pills – semaglutide

  36. JosephhounK说道:

    prednisone 30 mg tablet: prednisone pill – 200 mg prednisone daily

  37. JosephhounK说道:

    50 mg prednisone from canada: where to buy prednisone 20mg – buy prednisone online fast shipping

  38. JosephhounK说道:

    Buy semaglutide pills: Semaglutide pharmacy price – semaglutide

  39. JosephhounK说道:

    buy ventolin uk: Ventolin inhaler price – ventolin over the counter

  40. JosephhounK说道:

    buy semaglutide online: rybelsus price – buy semaglutide online

  41. JosephhounK说道:

    cheap Rybelsus 14 mg: rybelsus cost – Semaglutide pharmacy price

  42. Sergiosem说道:

    http://gabapentin.site/# cost of neurontin 100mg

  43. JosephhounK说道:

    Semaglutide pharmacy price: rybelsus price – rybelsus price

  44. JosephBer说道:

    Buy compounded semaglutide online: cheap Rybelsus 14 mg – Buy semaglutide pills

  45. JosephBer说道:

    Buy compounded semaglutide online: Buy compounded semaglutide online – Buy compounded semaglutide online

  46. Davidnoilk说道:

    prednisone oral: prednisone 40 mg rx – prednisone for cheap

  47. Davidnoilk说道:

    lasix generic name: lasix furosemide 40 mg – furosemida

  48. JosephhounK说道:

    discount neurontin: neurontin tablets uk – canada neurontin 100mg lowest price

  49. JosephhounK说道:

    neurontin 800 mg cost: neurontin from canada – buy neurontin

发表回复

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