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

/ 36,582评论 / 138749阅读 / 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. HeathGlact说道:

    Achat mГ©dicament en ligne fiable: pharmacie en ligne pas cher – pharmacie en ligne fiable

  2. HeathGlact说道:

    pharmacie en ligne sans ordonnance: cialis prix – acheter mГ©dicament en ligne sans ordonnance

  3. CharlesCah说道:

    pharmacie en ligne france livraison internationale Cialis sans ordonnance 24h vente de mГ©dicament en ligne

  4. Stephenmig说道:

    http://vgrsansordonnance.com/# Acheter viagra en ligne livraison 24h

  5. Stephenmig说道:

    http://clssansordonnance.icu/# pharmacie en ligne sans ordonnance

  6. CharlesCah说道:

    trouver un mГ©dicament en pharmacie п»їpharmacie en ligne france pharmacie en ligne livraison europe

  7. HeathGlact说道:

    SildГ©nafil 100 mg prix en pharmacie en France: Sildenafil Viagra – Viagra pas cher inde

  8. HeathGlact说道:

    Pharmacie sans ordonnance: acheter mГ©dicament en ligne sans ordonnance – trouver un mГ©dicament en pharmacie

  9. JamesDrine说道:

    medication from mexico pharmacy: purple pharmacy mexico price list – buying from online mexican pharmacy
    mexico pharmacies prescription drugs

  10. JamesDrine说道:

    mexican pharmaceuticals online: medication from mexico – mexican drugstore online
    buying from online mexican pharmacy

  11. HeathGlact说道:

    acheter mГ©dicament en ligne sans ordonnance: pharmacie en ligne – pharmacie en ligne france pas cher

  12. Stephenmig说道:

    http://vgrsansordonnance.com/# Prix du Viagra 100mg en France

  13. HeathGlact说道:

    pharmacie en ligne sans ordonnance: Medicaments en ligne livres en 24h – pharmacie en ligne sans ordonnance

  14. Stephenmig说道:

    http://clssansordonnance.icu/# pharmacie en ligne france fiable

  15. CharlesCah说道:

    SildГ©nafil 100mg pharmacie en ligne viagra sans ordonnance SildГ©nafil 100 mg prix en pharmacie en France

  16. Robertbof说道:

    canadian pharmacy oxycodone Pharmacies in Canada that ship to the US certified canadian pharmacy

  17. JamesIneli说道:

    https://mexicanpharma.icu/# buying from online mexican pharmacy

  18. JamesIneli说道:

    http://mexicanpharma.icu/# pharmacies in mexico that ship to usa

  19. Robertbof说道:

    canadian pharmacy meds trustworthy canadian pharmacy my canadian pharmacy

  20. JamesIneli说道:

    http://canadapharma.shop/# canadian compounding pharmacy

  21. JamesIneli说道:

    https://indiadrugs.pro/# cheapest online pharmacy india

  22. Robertbof说道:

    canadian pharmacy mall Canadian Pharmacy canada drugs reviews

  23. JamesIneli说道:

    https://indiadrugs.pro/# mail order pharmacy india

  24. JamesIneli说道:

    http://canadapharma.shop/# www canadianonlinepharmacy

  25. Robertbof说道:

    trusted canadian pharmacy Cheapest online pharmacy medication canadian pharmacy

  26. Davidtriam说道:

    medication from mexico pharmacy https://mexicanpharma.icu/# mexican rx online
    mexican online pharmacies prescription drugs

  27. Davidtriam说道:

    mexican mail order pharmacies https://mexicanpharma.icu/# buying prescription drugs in mexico online
    buying prescription drugs in mexico online

  28. Rogermycle说道:

    reputable indian online pharmacy: Indian pharmacy international shipping – online pharmacy india

  29. Robertbof说道:

    purple pharmacy mexico price list mexican pharmacy mexican mail order pharmacies

  30. JamesIneli说道:

    http://canadapharma.shop/# thecanadianpharmacy

  31. JamesIneli说道:

    http://mexicanpharma.icu/# best online pharmacies in mexico

  32. Rogermycle说道:

    pharmacy website india: online Indian pharmacy – indian pharmacy

  33. TimothyPob说道:

    legitimate canadian online pharmacies: Pharmacies in Canada that ship to the US – canadian pharmacy mall

  34. TimothyPob说道:

    pharmacies in canada that ship to the us: Cheapest online pharmacy – canadian world pharmacy

  35. TimothyPob说道:

    best online pharmacies in mexico: reputable mexican pharmacies online – mexican online pharmacies prescription drugs

  36. JamesIneli说道:

    http://indiadrugs.pro/# indian pharmacies safe

  37. JamesIneli说道:

    http://canadapharma.shop/# cheapest pharmacy canada

  38. Robertbof说道:

    top online pharmacy india Indian pharmacy international shipping indian pharmacies safe

  39. TimothyPob说道:

    canada drugs online: Online medication home delivery – legal to buy prescription drugs from canada

  40. TimothyPob说道:

    pharmacies in mexico that ship to usa: mexican pharma – mexico drug stores pharmacies

  41. TimothyPob说道:

    mexican border pharmacies shipping to usa: mexican pharma – medicine in mexico pharmacies

  42. TimothyPob说道:

    indianpharmacy com: Indian pharmacy international shipping – india online pharmacy

  43. Rogermycle说道:

    canadian pharmacy uk delivery: Online medication home delivery – canadianpharmacymeds com

  44. Rogermycle说道:

    pharmacy website india: Online medication home delivery – best online pharmacy india

  45. TimothyPob说道:

    mexican mail order pharmacies: mexican pharmacy – reputable mexican pharmacies online

  46. TimothyPob说道:

    pharmacy website india: indianpharmacy com – best india pharmacy

  47. TimothyPob说道:

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

  48. JamesIneli说道:

    https://indiadrugs.pro/# cheapest online pharmacy india

  49. JamesIneli说道:

    http://canadapharma.shop/# ordering drugs from canada

  50. TimothyPob说道:

    canadian drugs: Cheapest online pharmacy – canadian drug stores

发表回复

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