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

/ 36,481评论 / 137458阅读 / 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. RandyBulty说道:

    farmacia online piГ№ conveniente: kamagra gel – farmacia online

  2. Timothyomide说道:

    http://viagragenerico.site/# viagra cosa serve

  3. Timothyomide说道:

    https://viagragenerico.site/# dove acquistare viagra in modo sicuro

  4. Tomasdrads说道:

    viagra originale in 24 ore contrassegno: viagra online – miglior sito dove acquistare viagra

  5. Tomasdrads说道:

    migliori farmacie online 2024: Cialis generico farmacia – comprare farmaci online all’estero

  6. RandyBulty说道:

    comprare farmaci online all’estero: Cialis generico farmacia – migliori farmacie online 2024

  7. RandyBulty说道:

    acquistare farmaci senza ricetta: Cialis generico controindicazioni – migliori farmacie online 2024

  8. Tomasdrads说道:

    top farmacia online: Farmacie online sicure – Farmacia online miglior prezzo

  9. Tomasdrads说道:

    farmacie online sicure: super kamagra – п»їFarmacia online migliore

  10. Timothyomide说道:

    https://viagragenerico.site/# le migliori pillole per l’erezione

  11. RandyBulty说道:

    farmacie online affidabili: Cialis generico prezzo – farmacie online affidabili

  12. Timothyomide说道:

    http://viagragenerico.site/# viagra online in 2 giorni

  13. Tomasdrads说道:

    acquisto farmaci con ricetta: Farmacie online sicure – comprare farmaci online con ricetta

  14. Tomasdrads说道:

    farmacie online affidabili: Avanafil prezzo – migliori farmacie online 2024

  15. RandyBulty说道:

    viagra acquisto in contrassegno in italia: viagra generico – alternativa al viagra senza ricetta in farmacia

  16. RandyBulty说道:

    Farmacia online piГ№ conveniente: Cialis generico 20 mg 8 compresse prezzo – farmacie online autorizzate elenco

  17. Tomasdrads说道:

    farmacia online senza ricetta: Cialis generico recensioni – comprare farmaci online con ricetta

  18. Tomasdrads说道:

    Farmacia online piГ№ conveniente: Farmacia online migliore – farmacia online senza ricetta

  19. Timothyomide说道:

    https://farmait.store/# farmaci senza ricetta elenco

  20. RandyBulty说道:

    viagra generico prezzo piГ№ basso: acquisto viagra – viagra naturale in farmacia senza ricetta

  21. RandyBulty说道:

    Farmacie on line spedizione gratuita: Avanafil a cosa serve – top farmacia online

  22. Timothyomide说道:

    https://viagragenerico.site/# viagra generico sandoz

  23. Tomasdrads说道:

    viagra cosa serve: viagra senza ricetta – farmacia senza ricetta recensioni

  24. Tomasdrads说道:

    Farmacie online sicure: farmacia online migliore – farmacie online autorizzate elenco

  25. Matthewnouts说道:

    buy generic propecia without prescription: cost cheap propecia price – order generic propecia for sale

  26. Matthewnouts说道:

    cytotec buy online usa: order cytotec online – cytotec pills buy online

  27. Matthewnouts说道:

    what happens when you stop taking tamoxifen: tamoxifen postmenopausal – nolvadex pills

  28. Matthewnouts说道:

    buying cheap propecia no prescription: buying cheap propecia – generic propecia prices

  29. Matthewnouts说道:

    cost of cheap propecia without dr prescription: rx propecia – cost cheap propecia online

  30. Matthewnouts说道:

    zithromax canadian pharmacy: zithromax over the counter canada – can you buy zithromax over the counter

  31. Matthewnouts说道:

    buy zithromax 500mg online: zithromax 250mg – can i buy zithromax over the counter

  32. LewisToite说道:

    http://nolvadexbestprice.pro/# aromatase inhibitor tamoxifen

  33. Matthewnouts说道:

    nolvadex 20mg: tamoxifen endometriosis – п»їdcis tamoxifen

  34. Matthewnouts说道:

    get generic propecia prices: cost generic propecia – get generic propecia pills

  35. Matthewnouts说道:

    cheap generic prednisone: prednisone oral – can you buy prednisone in canada

  36. Matthewnouts说道:

    5mg prednisone: prednisone pak – can i buy prednisone online without a prescription

  37. KevinBlupt说道:

    buy cheap zithromax online: where can i buy zithromax medicine – where can i buy zithromax uk

  38. Matthewnouts说道:

    zithromax pill: where can i get zithromax over the counter – where can i purchase zithromax online

  39. LewisToite说道:

    http://nolvadexbestprice.pro/# lexapro and tamoxifen

  40. Robertperma说道:

    purchase cytotec cytotec abortion pill buy cytotec online

  41. Matthewnouts说道:

    get generic propecia price: generic propecia without rx – cheap propecia for sale

  42. KevinBlupt说道:

    nolvadex pills: low dose tamoxifen – nolvadex vs clomid

  43. Robertperma说道:

    prednisone 475 prednisone 21 pack prednisone rx coupon

  44. LewisToite说道:

    https://zithromaxbestprice.pro/# where to get zithromax over the counter

  45. Matthewnouts说道:

    zithromax 1000 mg online: zithromax generic price – can you buy zithromax over the counter in canada

  46. Robertperma说道:

    prednisone tablets india order prednisone with mastercard debit buy 40 mg prednisone

  47. PatrickHindy说道:

    https://nolvadexbestprice.pro/# should i take tamoxifen

  48. Matthewnouts说道:

    Misoprostol 200 mg buy online: cytotec abortion pill – order cytotec online

发表回复

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