Cpp Diary

Tuesday, June 5, 2012

Enumerators

typedef enum {RED, GREEN, BLUE} color_type;
или
enum color_type {RED, GREEN, BLUE};
Posted by Vitaliy at 9:19 AM
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2012 (17)
    • ▼  June (17)
      • Vectors
      • The Container Classes
      • Other STL Elements
      • STL
      • Потоковые указатели
      • Чтение из файла
      • Запись в файл
      • Dynamically allocated storage(когда в классе есть ...
      • Overloaded operators
      • Overloaded functions
      • Enumerators
      • Data types
      • Function prototype and function definition
      • Передача аргумента в функцию
      • Процесс компиляции
      • Что такое C++?
      • Первое сообщение

About Me

Vitaliy
View my complete profile
Simple theme. Powered by Blogger.