Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. what is LValue error?.

what is LValue error?.

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
2 Posts 2 Posters 0 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.
  • N Offline
    N Offline
    NewtonOfComputers
    wrote on last edited by
    #1

    hello all, what is lvalue error?. is there Rvalue error too?. if yes plz give me some explanation about these 2 error types. Thanking u all. ComputerNewton

    A 1 Reply Last reply
    0
    • N NewtonOfComputers

      hello all, what is lvalue error?. is there Rvalue error too?. if yes plz give me some explanation about these 2 error types. Thanking u all. ComputerNewton

      A Offline
      A Offline
      Andras Zoltan
      wrote on last edited by
      #2

      I can only assume you mean when the compiler is expecting an l-value on the left-hand side of an assignment: i=10; is fine so long as i was not defined as a constant. More obviously: 10=3; will give you an l-value error because 10 is not an l-value and therefore cannot be assigned to anything else. 10 is 10, and cannot be anything else!:-D I hope this helps, Zoltan

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups