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

/ 36,829评论 / 141163阅读 / 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. ArmandoLiaig说道:

    average cost of lisinopril: 10 mg lisinopril cost – zestril 5 mg prices

  2. JimmieInawl说道:

    https://cytotec.top/# Misoprostol 200 mg buy online

  3. ArmandoLiaig说道:

    buy cipro cheap: purchase cipro – buy ciprofloxacin over the counter

  4. JimmieInawl说道:

    http://azithromycinus.com/# zithromax for sale us

  5. JaimeNer说道:

    lisinopril 10 best price lisinopril 1.25 lisinopril 40 mg tablet

  6. ArmandoLiaig说道:

    buy cytotec: п»їcytotec pills online – buy cytotec

  7. JimmieInawl说道:

    https://clomid.store/# can i buy clomid without prescription

  8. JaimeNer说道:

    where buy generic clomid price where buy clomid without dr prescription where can i get generic clomid without prescription

  9. ArmandoLiaig说道:

    zithromax 500 mg for sale: zithromax for sale us – zithromax capsules australia

  10. RobertUnsuh说道:

    can i order generic clomid pill: how to get generic clomid without a prescription – buy generic clomid pill

  11. HarrySteag说道:

    paxlovid covid: Paxlovid.ink – Paxlovid.ink

  12. Frankdon说道:

    Amoxil Pharm Store: AmoxilPharm – Amoxil Pharm Store

  13. HarrySteag说道:

    Buy compounded semaglutide online: cheap Rybelsus 14 mg – semaglutide pharm

  14. Robertproke说道:

    http://semaglutidepharm.com/# cheap Rybelsus 14 mg

  15. Frankdon说道:

    Paxlovid.ink: Paxlovid.ink – Paxlovid.ink

  16. HarrySteag说道:

    Paxlovid buy online: Paxlovid.ink – paxlovid generic

  17. HarrySteag说道:

    Ivermectin Pharm: buy stromectol uk – ivermectin cream

  18. Frankdon说道:

    Paxlovid.ink: Paxlovid.ink – Paxlovid.ink

  19. HarrySteag说道:

    rybelsus price: buy rybelsus – rybelsus

  20. Robertproke说道:

    https://paxlovid.ink/# buy paxlovid online

  21. Edwardhem说道:

    paxlovid pharmacy paxlovid for sale paxlovid covid

  22. HarrySteag说道:

    buy rybelsus: semaglutide pharm – buy rybelsus

  23. Frankdon说道:

    Amoxil Pharm Store: Amoxil Pharm Store – Amoxil Pharm Store

  24. Robertproke说道:

    https://gabapentinpharm.com/# buy neurontin online uk

  25. HarrySteag说道:

    generic neurontin pill: neurontin 300 mg tablets – Gabapentin Pharm

  26. Frankdon说道:

    cheap Rybelsus 14 mg: Rybelsus 7mg – buy semaglutide online

  27. Robertproke说道:

    https://ivermectinpharm.store/# Ivermectin Pharm Store

  28. HarrySteag说道:

    Ivermectin Pharm Store: Ivermectin Pharm – Ivermectin Pharm Store

  29. Frankdon说道:

    rybelsus: rybelsus cost – rybelsus price

  30. HarrySteag说道:

    Semaglutide pharmacy price: Buy semaglutide pills – Buy semaglutide pills

  31. Robertproke说道:

    https://ivermectinpharm.store/# Ivermectin Pharm Store

  32. HarrySteag说道:

    buy rybelsus: buy rybelsus – rybelsus price

  33. FrankAmurf说道:

    cheap drugs http://indianpharmstar.com/# indianpharmacy com

  34. ScottSunty说道:

    indianpharmacy com: indian pharm star – best india pharmacy

  35. AdolfoAburl说道:

    medication from mexico pharmacy: Pharm Easy – medication from mexico pharmacy

  36. FrankAmurf说道:

    best male enhancement pills http://mexicanpharmeasy.com/# buying prescription drugs in mexico

  37. AdolfoAburl说道:

    mail order pharmacy india: IndianPharmStar.com – buy medicines online in india

  38. ScottSunty说道:

    ed pumps: canadian pharm – medication online

  39. Carlosspart说道:

    canadian drug: canadianpharm1st.com – medications for

  40. AdolfoAburl说道:

    mexican border pharmacies shipping to usa: mexican pharm easy – medicine in mexico pharmacies

  41. FrankAmurf说道:

    erection pills that work https://canadianpharm1st.com/# online canadian pharmacy

  42. ScottSunty说道:

    best online pharmacies in mexico: mexican pharm easy – mexico pharmacies prescription drugs

  43. AdolfoAburl说道:

    mexican pharmaceuticals online: mexican pharm easy – mexican rx online

  44. FrankAmurf说道:

    ed cures that actually work http://mexicanpharmeasy.com/# mexican mail order pharmacies

  45. AdolfoAburl说道:

    top online pharmacy india: indian pharmacy – indian pharmacies safe

  46. Carlosspart说道:

    medication online: canada pharmacy online – ed treatment drugs

  47. ScottSunty说道:

    mexican drugstore online: Pharm Easy – mexican online pharmacies prescription drugs

  48. AdolfoAburl说道:

    cheap medication: canadianpharm1st.com – best natural ed treatment

发表回复

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