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

/ 36,520评论 / 137888阅读 / 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. RobertLAr说道:

    paxlovid covid: Paxlovid buy online – paxlovid covid

  2. Jamesjer说道:

    where can i buy generic clomid pill: can you get generic clomid online – cost generic clomid pill

  3. Jamesjer说道:

    clomid no prescription: can i order generic clomid without dr prescription – can you get generic clomid without dr prescription

  4. Jamesjer说道:

    cipro: buy ciprofloxacin over the counter – ciprofloxacin generic

  5. Jamesjer说道:

    amoxicillin 500 mg where to buy: amoxicillin for sale – amoxicillin 250 mg

  6. ThomasInace说道:

    https://clomiddelivery.pro/# where to buy generic clomid now

  7. ThomasInace说道:

    https://paxloviddelivery.pro/# buy paxlovid online

  8. Jamesjer说道:

    paxlovid covid: п»їpaxlovid – paxlovid cost without insurance

  9. ThomasInace说道:

    http://amoxildelivery.pro/# amoxicillin 500mg for sale uk

  10. Jamesjer说道:

    paxlovid pharmacy: paxlovid generic – paxlovid cost without insurance

  11. ThomasInace说道:

    https://ciprodelivery.pro/# cipro for sale

  12. Jamesjer说道:

    Paxlovid over the counter: paxlovid price – paxlovid pharmacy

  13. ThomasInace说道:

    https://amoxildelivery.pro/# can you buy amoxicillin over the counter

  14. Jamesjer说道:

    buy amoxicillin online no prescription: where to get amoxicillin over the counter – order amoxicillin no prescription

  15. ThomasInace说道:

    http://ciprodelivery.pro/# ciprofloxacin generic

  16. ThomasInace说道:

    https://doxycyclinedelivery.pro/# doxycycline india cost

  17. Jamesjer说道:

    can i purchase clomid now: generic clomid for sale – clomid pill

  18. ThomasInace说道:

    http://ciprodelivery.pro/# cipro for sale

  19. Jamesjer说道:

    amoxicillin without rx: where to get amoxicillin over the counter – amoxicillin without a prescription

  20. ThomasInace说道:

    https://paxloviddelivery.pro/# paxlovid for sale

  21. Jamesjer说道:

    antibiotic doxycycline: doxycycline 50mg – doxycycline prescription cost uk

  22. Jamesjer说道:

    10 doxycycline gel: doxycycline capsules for sale – order doxycycline

  23. ThomasInace说道:

    http://ciprodelivery.pro/# cipro for sale

  24. ThomasInace说道:

    http://doxycyclinedelivery.pro/# doxycycline capsules purchase

  25. ThomasInace说道:

    http://ciprodelivery.pro/# ciprofloxacin 500 mg tablet price

  26. Jamesjer说道:

    buy cipro online usa: п»їcipro generic – buy ciprofloxacin

  27. ThomasInace说道:

    https://ciprodelivery.pro/# cipro online no prescription in the usa

  28. Jamesjer说道:

    paxlovid india: п»їpaxlovid – paxlovid generic

  29. ThomasInace说道:

    https://doxycyclinedelivery.pro/# cost of doxycycline in canada

  30. ThomasInace说道:

    https://amoxildelivery.pro/# where can you get amoxicillin

  31. EdwardKib说道:

    https://indiapharmast.com/# india online pharmacy

  32. DavidWaype说道:

    buying prescription drugs in mexico online: mexican rx online – mexican pharmaceuticals online

  33. DavidWaype说道:

    canadian pharmacy: canadian neighbor pharmacy – canada rx pharmacy world

  34. Charlestaf说道:

    canada cloud pharmacy canadian pharmacy price checker canadian online drugstore

  35. Michaelpiepe说道:

    mexican pharmaceuticals online: mexico pharmacies prescription drugs – mexican online pharmacies prescription drugs

  36. EdwardKib说道:

    https://canadapharmast.online/# reliable canadian pharmacy

  37. Michaelpiepe说道:

    Online medicine order: indian pharmacy paypal – indian pharmacy online

  38. Charlestaf说道:

    mexican rx online mexican mail order pharmacies buying prescription drugs in mexico online

  39. DavidWaype说道:

    mexican rx online: mexican pharmacy – buying prescription drugs in mexico

  40. DavidWaype说道:

    canadian pharmacies that deliver to the us: reliable canadian online pharmacy – best online canadian pharmacy

  41. DavidWaype说道:

    buying prescription drugs in mexico online: pharmacies in mexico that ship to usa – best online pharmacies in mexico

  42. Charlestaf说道:

    mexican pharmacy mexico pharmacies prescription drugs mexico pharmacy

  43. Michaelpiepe说道:

    legit canadian online pharmacy: canadian neighbor pharmacy – canada drug pharmacy

  44. EdwardKib说道:

    https://foruspharma.com/# п»їbest mexican online pharmacies

  45. Michaelpiepe说道:

    buying prescription drugs in mexico online: mexican pharmacy – pharmacies in mexico that ship to usa

  46. EdwardKib说道:

    https://indiapharmast.com/# india pharmacy mail order

  47. Charlestaf说道:

    best canadian pharmacy to order from canadian pharmacy prices www canadianonlinepharmacy

  48. DavidWaype说道:

    canadian mail order pharmacy: canadian drugs – canadian drug stores

发表回复

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