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

/ 36,587评论 / 138842阅读 / 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. JamesRok说道:

    buy lipitor cheap: Atorvastatin 20 mg buy online – best price for generic lipitor

  2. DanielDrync说道:

    п»їcytotec pills online https://cytotec.pro/# Misoprostol 200 mg buy online
    lasix 20 mg

  3. StephenJonge说道:

    https://lipitor.guru/# lipitor price in india

  4. StanleyMaf说道:

    lipitor 20 mg generic lipitor india generic cost of lipitor

  5. StanleyMaf说道:

    Abortion pills online buy misoprostol tablet buy cytotec pills

  6. DanielDrync说道:

    п»їcytotec pills online https://tamoxifen.bid/# nolvadex generic
    lasix 100 mg tablet

  7. DanielDrync说道:

    cytotec pills buy online http://lisinopril.guru/# lisinopril 5 mg uk price
    furosemida 40 mg

  8. StephenJonge说道:

    http://lisinopril.guru/# lisinopril 20mg 25mg

  9. JamesRok说道:

    lipitor atorvastatin calcium: buy atorvastatin online – lipitor rx

  10. JamesRok说道:

    how does tamoxifen work: buy tamoxifen citrate – nolvadex price

  11. StephenJonge说道:

    https://tamoxifen.bid/# tamoxifen medication

  12. DanielDrync说道:

    cytotec pills buy online https://lisinopril.guru/# zestril 5mg
    lasix 100 mg

  13. DanielDrync说道:

    buy cytotec online fast delivery http://lisinopril.guru/# lisinopril 20 mg tablet cost
    furosemide 40mg

  14. JamesRok说道:

    nolvadex for pct: Purchase Nolvadex Online – tamoxifen and grapefruit

  15. JamesRok说道:

    buy furosemide online: cheap lasix – lasix 100 mg tablet

  16. StanleyMaf说道:

    lisinopril from canada Buy Lisinopril 20 mg online zestoretic 20 25

  17. StanleyMaf说道:

    lipitor 10mg tablets lipitor 40 lipitor price drop

  18. StephenJonge说道:

    https://lisinopril.guru/# lisinopril 15 mg

  19. StephenJonge说道:

    https://lisinopril.guru/# lisinopril 10 india

  20. DanielDrync说道:

    order cytotec online https://cytotec.pro/# buy cytotec
    lasix pills

  21. JamesRok说道:

    lisinopril 15 mg: Buy Lisinopril 20 mg online – lisinopril online purchase

  22. DanielDrync说道:

    buy cytotec in usa https://tamoxifen.bid/# nolvadex half life
    lasix furosemide 40 mg

  23. JamesRok说道:

    lasix generic: furosemide – furosemide 100mg

  24. StanleyMaf说道:

    buy cytotec over the counter cheapest cytotec Abortion pills online

  25. StanleyMaf说道:

    buy cytotec pills online cheap cytotec best price cytotec buy online usa

  26. Douglasnug说道:

    mexican mail order pharmacies: Best online Mexican pharmacy – pharmacies in mexico that ship to usa

  27. Douglasnug说道:

    buy prescription drugs from india: indian pharmacy – india pharmacy

  28. Douglasnug说道:

    buy erectile dysfunction medication: online ed prescription same-day – where can i get ed pills

  29. Douglasnug说道:

    mexican rx online: Best pharmacy in Mexico – pharmacies in mexico that ship to usa

  30. Douglasnug说道:

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

  31. Douglasnug说道:

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

  32. Douglasnug说道:

    п»їbest mexican online pharmacies: Certified Mexican pharmacy – mexican online pharmacies prescription drugs

  33. Leonardskarm说道:

    http://mexicopharmacy.win/# buying prescription drugs in mexico online

  34. Douglasnug说道:

    п»їlegitimate online pharmacies india: Online India pharmacy – indian pharmacy

  35. Douglasnug说道:

    pills for erectile dysfunction online: Cheap ED pills online – buy ed meds

  36. Leonardskarm说道:

    http://indiapharmacy.shop/# buy medicines online in india

  37. Douglasnug说道:

    buying from online mexican pharmacy: Best pharmacy in Mexico – medication from mexico pharmacy

  38. Douglasnug说道:

    reputable indian pharmacies: Top mail order pharmacies – reputable indian online pharmacy

  39. Leonardskarm说道:

    http://edpillpharmacy.store/# online erectile dysfunction medication

  40. Douglasnug说道:

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

  41. Douglasnug说道:

    top online pharmacy india: Best Indian pharmacy – top 10 online pharmacy in india

  42. Leonardskarm说道:

    http://indiapharmacy.shop/# india pharmacy

  43. Douglasnug说道:

    edmeds: cheap ed pills online – ed online meds

  44. Douglasnug说道:

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

  45. Leonardskarm说道:

    https://mexicopharmacy.win/# purple pharmacy mexico price list

  46. Douglasnug说道:

    mexican mail order pharmacies: Best online Mexican pharmacy – mexico drug stores pharmacies

  47. Douglasnug说道:

    erectile dysfunction pills for sale: cheap ed pills online – best ed meds online

  48. Leonardskarm说道:

    http://edpillpharmacy.store/# online ed medications

发表回复

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