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. c++ enum

c++ enum

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
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.
  • F Offline
    F Offline
    Fotsing
    wrote on last edited by
    #1

    hello every one please am working on a project where by on one of the class am ask to creat class board with enum so i have struggle but am not able to display. the question is " in class booard Define a C++ enumeration (enum struct) with values for no meals, breakfast, half pension and all inclusive as well as a related overloaded binary output operator." expected output "

    a all inclusive
    b breakfast
    h half board
    w without meals
    your choice:h

    " please i need some one help

    CPalliniC 1 Reply Last reply
    0
    • F Fotsing

      hello every one please am working on a project where by on one of the class am ask to creat class board with enum so i have struggle but am not able to display. the question is " in class booard Define a C++ enumeration (enum struct) with values for no meals, breakfast, half pension and all inclusive as well as a related overloaded binary output operator." expected output "

      a all inclusive
      b breakfast
      h half board
      w without meals
      your choice:h

      " please i need some one help

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      What about The Documentation?

      • Enumeration declaration - cppreference.com[^]

      And other resources?

      • https://medium.com/@nonuruzun/overloading-input-output-operators-in-c-a2a74c5dda8a[^]

      .

      In testa che avete, signor di Ceprano?

      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