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

/ 36,580评论 / 138727阅读 / 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. WilliamTub说道:

    gabapentin best price: gabapentin pro – Neurontin online

  2. TommyJew说道:

    cheapest: stromectol store – stromectol online

  3. WilliamTub说道:

    Regenerative Medicine: Regenerative Medicine – Urgent Specialists

  4. HarryMaigh说道:

    pin up kz пин ап кз пинап

  5. JefferyTriep说道:

    pinup-az bid: pin up 306 – pin up

  6. JasonLot说道:

    pinup az: pin up azerbaycan – pin up 306

  7. DerekZeple说道:

    http://sweetbonanzatr.pro/# sweet bonanza
    pin up zerkalo

  8. JefferyTriep说道:

    pin-up casino giris: pin-up – pin up azerbaycan

  9. JasonLot说道:

    sweet bonanza: sweet bonanza nas?l oynan?r – sweet bonanza oyna

  10. DerekZeple说道:

    http://biznes-fabrika.kz/# пинап
    pinup bet and casino

  11. HarryMaigh说道:

    pinup-az bid pin up casino pinup az

  12. JefferyTriep说道:

    sweet bonanza oyna: sweet bonanza nas?l oynan?r – sweet bonanza oyna

  13. JasonLot说道:

    пинко: pinco – пин ап вход

  14. DerekZeple说道:

    https://pinup-az.bid/# pinup az
    pin up zerkalo

  15. MichaelKeype说道:

    https://pinupzerkalo.fun/# пин ап зеркало

  16. JefferyTriep说道:

    пин ап кз: pin up kz – Пин Ап Казахстан

  17. HarryMaigh说道:

    sweetbonanzatr.pro sweet bonanza tr sweetbonanzatr.pro

  18. DerekZeple说道:

    http://pinup-az.bid/# pinup az
    pin up win

  19. JasonLot说道:

    sweet bonanza nas?l oynan?r: sweet bonanza – sweet bonanza nas?l oynan?r

  20. JefferyTriep说道:

    pinup: pinup az – pinup

  21. JefferyTriep说道:

    sweet bonanza oyna: sweetbonanzatrpro – sweet bonanza oyna

  22. JasonLot说道:

    pinup az: pin up – pinup az

  23. HarryMaigh说道:

    pinup-az bid pin up azerbaycan pin up

  24. DerekZeple说道:

    https://sweetbonanzatr.pro/# sweet bonanza
    pin up casino

  25. JefferyTriep说道:

    пин ап: пинко – пин ап казино

  26. JasonLot说道:

    Пин Ап Казино Официальный Сайт: pin up kz – pin up kz

  27. DerekZeple说道:

    https://pinup-az.bid/# pinup-az bid
    pinup bet and casino

  28. HarryMaigh说道:

    пин ап казино пин ап 634 pin up kz

  29. JasonLot说道:

    пин ап казино: pin up kz – пинап казино

  30. MichaelKeype说道:

    http://pinup-az.bid/# pin up casino

  31. DerekZeple说道:

    http://pinupzerkalo.fun/# пин ап казино
    pin up win

  32. HarryMaigh说道:

    sweet bonanza oyna sweetbonanzatr.pro sweet bonanza tr

  33. JasonLot说道:

    Пин Ап Казино Официальный Сайт: пины – пин ап кз

  34. ThomasWaype说道:

    reputable indian pharmacies: best online pharmacy india – cheapest online pharmacy india

  35. Robertolom说道:

    reputable indian online pharmacy: online pharmacy india – online pharmacy india

  36. Emersoncon说道:

    buy prescription drugs from india indian pharmacy indian pharmacy paypal

  37. Charlesbiort说道:

    https://indianpharm1st.com/# indian pharmacy

  38. Robertolom说道:

    buy medicines online in india: online pharmacy india – top 10 online pharmacy in india

  39. ThomasWaype说道:

    mexico drug stores pharmacies: medication from mexico pharmacy – purple pharmacy mexico price list

  40. Robertolom说道:

    mexican mail order pharmacies: reputable mexican pharmacies online – п»їbest mexican online pharmacies

  41. Charlesbiort说道:

    https://drugs1st.store/# erection problems

  42. ThomasWaype说道:

    Online medicine home delivery: pharmacy website india – reputable indian online pharmacy

  43. Robertolom说道:

    medicines for ed: home remedies for ed – best over the counter ed pills

  44. Charlesbiort说道:

    http://indianpharm1st.com/# Online medicine home delivery

  45. Robertolom说道:

    india pharmacy mail order: mail order pharmacy india – mail order pharmacy india

  46. ThomasWaype说道:

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

发表回复

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