Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Spanish
  4. Comparaciones

Comparaciones

Scheduled Pinned Locked Moved Solved Spanish
2 Posts 2 Posters 640 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Casino
    wrote on last edited by
    #1

    if(x2 < x1 <= x3)
    Por que da mensaje de error, en amarillo y un mensaje que dice:
    comparison like "Z <= X <= C" do not have their mathematical meaning [-Wparentheses]
    Gracias por la respuesta que pueda recibir...

    JonBJ 1 Reply Last reply
    0
    • C Casino

      if(x2 < x1 <= x3)
      Por que da mensaje de error, en amarillo y un mensaje que dice:
      comparison like "Z <= X <= C" do not have their mathematical meaning [-Wparentheses]
      Gracias por la respuesta que pueda recibir...

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Casino

      if(x2 < x1 <= x3)

      In Python che funziona.

      Ma in C/C++ devi usare

      if (x2 < x1 && x1 <= x3)
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved