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

/ 36,588评论 / 138848阅读 / 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. Leonardskarm说道:

    https://indiapharmacy.shop/# п»їlegitimate online pharmacies india

  2. Douglasnug说道:

    india pharmacy mail order: Cheapest online pharmacy – buy medicines online in india

  3. Leonardskarm说道:

    http://indiapharmacy.shop/# indian pharmacy online

  4. Douglasnug说道:

    mexican rx online: mexican pharmacy – mexican mail order pharmacies

  5. Douglasnug说道:

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

  6. Leonardskarm说道:

    http://indiapharmacy.shop/# top 10 online pharmacy in india

  7. Douglasnug说道:

    mexico drug stores pharmacies: Certified Mexican pharmacy – mexican pharmaceuticals online

  8. Douglasnug说道:

    indian pharmacy online: Best Indian pharmacy – mail order pharmacy india

  9. Leonardskarm说道:

    https://edpillpharmacy.store/# cheap erectile dysfunction pills

  10. Douglasnug说道:

    erectile dysfunction pills for sale: Cheapest online ED treatment – where to buy erectile dysfunction pills

  11. Douglasnug说道:

    best online pharmacy india: Online India pharmacy – mail order pharmacy india

  12. Leonardskarm说道:

    http://indiapharmacy.shop/# Online medicine order

  13. Douglasnug说道:

    Online medicine order: Online pharmacy USA – mail order pharmacy india

  14. Douglasnug说道:

    buy medicines online in india: Indian pharmacy online – indian pharmacy

  15. Leonardskarm说道:

    http://indiapharmacy.shop/# top 10 pharmacies in india

  16. Leonardskarm说道:

    https://mexicopharmacy.win/# mexican mail order pharmacies

  17. Douglasnug说道:

    buy erectile dysfunction medication: Best ED meds online – online erectile dysfunction prescription

  18. Douglasnug说道:

    buy ed medication: ED meds online with insurance – online ed meds

  19. CharlesLem说道:

    https://indiapharmacy.shop/# top 10 pharmacies in india
    cheapest online ed treatment

  20. Douglasnug说道:

    cheap ed drugs: cheap ed pills online – ed rx online

  21. Douglasnug说道:

    buying prescription drugs in mexico online: Certified Mexican pharmacy – mexican mail order pharmacies

  22. Leonardskarm说道:

    https://indiapharmacy.shop/# п»їlegitimate online pharmacies india

  23. Leonardskarm说道:

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

  24. CharlesLem说道:

    http://mexicopharmacy.win/# mexico drug stores pharmacies
    ed online meds

  25. CharlesLem说道:

    https://indiapharmacy.shop/# india pharmacy
    ed pills

  26. Douglasnug说道:

    mexico pharmacies prescription drugs: mexican pharmacy – reputable mexican pharmacies online

  27. Douglasnug说道:

    п»їed pills online: ed pills online – cheapest online ed treatment

  28. Leonardskarm说道:

    https://mexicopharmacy.win/# mexican drugstore online

  29. CharlesLem说道:

    https://edpillpharmacy.store/# cheapest ed meds
    where can i buy ed pills

  30. CharlesLem说道:

    https://indiapharmacy.shop/# п»їlegitimate online pharmacies india
    ed meds by mail

  31. Leonardskarm说道:

    http://mexicopharmacy.win/# mexican online pharmacies prescription drugs

  32. Douglasnug说道:

    best online pharmacies in mexico: Certified Mexican pharmacy – mexican pharmaceuticals online

  33. Douglasnug说道:

    best online pharmacy india: Online pharmacy USA – best india pharmacy

  34. CharlesLem说道:

    https://mexicopharmacy.win/# buying prescription drugs in mexico
    erectile dysfunction pills for sale

  35. CharlesLem说道:

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

  36. Samuelrip说道:

    https://sildenafil.llc/# buy viagra online without a prescription

  37. Georgemuh说道:

    buy viagra generic: Cheap Viagra 100mg – viagra canada

  38. Georgemuh说道:

    how long does viagra last: buy sildenafil online canada – real viagra without a doctor prescription

  39. Samuelrip说道:

    http://tadalafil.auction/# generic cialis 20 mg x 30

  40. Georgemuh说道:

    viagra vs cialis: Buy Viagra online in USA – buy viagra pills

  41. Samuelrip说道:

    https://tadalafil.auction/# cialis and dapoxetine

  42. Georgemuh说道:

    cheap viagra: Viagra online price – generic viagra without a doctor prescription

  43. Georgemuh说道:

    cialis overnight: cialis without a doctor prescription – herbal cialis

  44. Samuelrip说道:

    http://tadalafil.auction/# curved penis and cialis

  45. Georgemuh说道:

    buy cialis 20 mg: Buy Cialis online – cialis in melbourne australia

  46. Georgemuh说道:

    order cialis brand: Buy Tadalafil 20mg – viagra cialis

  47. Tomasdrads说道:

    alternativa al viagra senza ricetta in farmacia: viagra senza ricetta – miglior sito per comprare viagra online

  48. Tomasdrads说道:

    farmaci senza ricetta elenco: Farmacie online sicure – farmaci senza ricetta elenco

  49. RandyBulty说道:

    farmaci senza ricetta elenco: farmacie online affidabili – migliori farmacie online 2024

发表回复

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