Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Spanish
  4. No entiendo la siguiente línea de código
Qt 6.11 is out! See what's new in the release blog

No entiendo la siguiente línea de código

Scheduled Pinned Locked Moved Solved Spanish
2 Posts 2 Posters 1.4k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    meepo1
    wrote on last edited by meepo1
    #1

    Por que hay un igual y una inigualdad? No se supone que solo puede haber un operador de igualdad a la vez?

    while ((pos = rx.indexIn(str, pos)) != -1) {}
    
    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by Eddy
      #2

      En C ++
      = es la asignación
      == y! = Se comparan

      por lo que el lado derecho de los = es verdadera o falsa, que se asigna a pos.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      1

      • Login

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