Hi all!![]()
I was wondering when to use structures and when to use enum's? this would be a big help to me if you could respond and would help me understand, which in turn, will probably help me write better programs. thanks!![]()
This is a discussion on When to use which? within the C++ Programming forums, part of the General Programming Boards category; Hi all! I was wondering when to use structures and when to use enum's? this would be a big help ...
Hi all!![]()
I was wondering when to use structures and when to use enum's? this would be a big help to me if you could respond and would help me understand, which in turn, will probably help me write better programs. thanks!![]()
#include <Jesus.h>
It will save your life
use structs/classes when defining a new type.
use enums when u need a list of enumerated constants.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi