Search:

Type: Posts; User: JerryL

Search: Search took 0.00 seconds.

  1. Thread: enum

    by JerryL
    Replies
    5
    Views
    4,455

    enum

    I am wondering how many bits (in memory) are used for a declared enum type?

    e.g. int is 32 bits
    bool is 1 bit
    enum??

    At enum, is it dependent on how many values it can take, e.g....
  2. Error: initialization of non-const reference type

    Hi!

    I have been thinking about this one the whole night but couldn't figure it out. I guess it was my bad day (or night). :D

    So, I have written the following code (it does nothing useful, it...
Results 1 to 2 of 2