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

/ 36,828评论 / 141132阅读 / 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. TravisCange说道:

    slot oyunlar?: slot siteleri – slot tr online

  2. JustinEurok说道:

    https://casinositeleri2025.pro/# oyun sitesi oyun sitesi oyun sitesi

  3. JamesHex说道:

    semaglutide tablets price: semaglutide tablets price – rybelsus semaglutide tablets

  4. Bradleyvag说道:

    https://kamagra.men/# super kamagra

  5. Charlesnix说道:

    erection pills online: buy ed medication – edmeds

  6. StevenKex说道:

    https://cenforce.icu/# order cenforce

  7. Bradleyvag说道:

    https://cenforce.icu/# cenforce for sale

  8. JamesHex说道:

    cheap boner pills: erectile dysfunction pills for sale – order ed pills

  9. Bradleyvag说道:

    https://cenforce.icu/# cheapest cenforce

  10. Charlesnix说道:

    cheap kamagra: super kamagra – Kamagra Oral Jelly

  11. JamesHex说道:

    erectile dysfunction treatment: drugs1st – ed products

  12. Bradleyvag说道:

    https://drugs1st.pro/# ed pills that work

  13. Bradleyvag说道:

    http://edpills.men/# ed meds online

  14. JamesHex说道:

    Kamagra 100mg: Kamagra 100mg – п»їkamagra

  15. Charlesnix说道:

    Kamagra tablets: Kamagra 100mg price – Kamagra tablets

  16. StevenKex说道:

    http://cenforce.icu/# Cenforce 150 mg online

  17. Bradleyvag说道:

    http://cenforce.icu/# Cenforce 100mg tablets for sale

  18. JamesHex说道:

    buy ed pills online: ed treatment natural – ed in men

  19. Bradleyvag说道:

    https://drugs1st.pro/# buy prescription drugs without doctor

  20. StevenKex说道:

    https://drugs1st.pro/# ed dysfunction treatment

  21. Charlesnix说道:

    drugs1st: ed therapy – prescription drugs without doctor approval

  22. Bradleyvag说道:

    https://drugs1st.pro/# non prescription ed drugs

  23. JamesHex说道:

    pills for ed online: online erectile dysfunction prescription – cheap ed meds online

  24. RobertUnsuh说道:

    lisinopril 40 mg tablets: lisinopril pills 2.5 mg – lisinopril tablet 40 mg

  25. JimmieInawl说道:

    https://ciprofloxacin.cheap/# cipro 500mg best prices

  26. RobertUnsuh说道:

    ciprofloxacin over the counter: ciprofloxacin generic – п»їcipro generic

  27. JimmieInawl说道:

    https://clomid.store/# how to get clomid pills

  28. JaimeNer说道:

    order clomid get cheap clomid price buy clomid without rx

  29. RobertUnsuh说道:

    where to buy generic clomid: order cheap clomid no prescription – clomid otc

  30. ArmandoLiaig说道:

    ciprofloxacin generic: cipro – cipro for sale

  31. JimmieInawl说道:

    https://clomid.store/# can you get cheap clomid without insurance

  32. ArmandoLiaig说道:

    zithromax 500mg over the counter: where can i buy zithromax in canada – zithromax 250mg

  33. RobertUnsuh说道:

    zithromax 250 mg pill: zithromax antibiotic – generic zithromax medicine

  34. JimmieInawl说道:

    https://lisinoprilus.com/# lisinopril buy online

  35. ArmandoLiaig说道:

    can you get clomid no prescription: how can i get generic clomid for sale – order generic clomid pills

  36. RobertUnsuh说道:

    where to buy clomid without a prescription: cost generic clomid for sale – can i get cheap clomid no prescription

  37. ArmandoLiaig说道:

    can you get clomid without dr prescription: can i buy clomid prices – how to buy cheap clomid without prescription

  38. RobertUnsuh说道:

    how to get generic clomid pill: buying clomid prices – where can i get clomid without prescription

  39. JimmieInawl说道:

    http://cytotec.top/# buy cytotec

  40. ArmandoLiaig说道:

    lisinopril 40 mg india: lisinopril tablet 40 mg – lisinopril coupon

  41. JimmieInawl说道:

    https://clomid.store/# can i get generic clomid pills

  42. RobertUnsuh说道:

    zithromax 1000 mg pills: zithromax online paypal – zithromax online

  43. ArmandoLiaig说道:

    zithromax 500mg price in india: zithromax drug – zithromax for sale us

  44. JimmieInawl说道:

    https://ciprofloxacin.cheap/# buy cipro online without prescription

  45. RobertUnsuh说道:

    lisinopril 40mg: lisinopril brand name in usa – lisinopril cheap brand

  46. JaimeNer说道:

    ciprofloxacin 500 mg tablet price buy cipro cheap buy cipro online without prescription

  47. JimmieInawl说道:

    http://azithromycinus.com/# buy cheap zithromax online

  48. RobertUnsuh说道:

    cipro ciprofloxacin: ciprofloxacin mail online – buy cipro online canada

  49. JimmieInawl说道:

    https://lisinoprilus.com/# lisinopril 20 mg tablet price

发表回复

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