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. Other Discussions
  3. The Insider News
  4. The difference between undefined behavior and ill-formed C++ programs

The difference between undefined behavior and ill-formed C++ programs

Scheduled Pinned Locked Moved The Insider News
c++comquestion
2 Posts 2 Posters 2 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.
  • K Offline
    K Offline
    Kent Sharkey
    wrote on last edited by
    #1

    The Old New Thing[^]:

    The C++ language has two large categories of “don’t do that” known as undefined behavior and ill-formed program. What’s the difference?

    If you wrote it, or if someone else wrote it?

    N 1 Reply Last reply
    0
    • K Kent Sharkey

      The Old New Thing[^]:

      The C++ language has two large categories of “don’t do that” known as undefined behavior and ill-formed program. What’s the difference?

      If you wrote it, or if someone else wrote it?

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      Kent Sharkey wrote:

      If you wrote it (and you remember it), or if someone else wrote it (or you did but you don't remember it)?

      FTFY :-D

      M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

      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