Home
Contact
Sitemap
Bookmark us
Home
Services
Products
Biometrics
eFinance
Company
Index
C & C++ Programming - Passing enum in a function
#pragma once
enum ABC
{
A = 10,
B,
C
};
ABC g_ABC;
void function( ABC abc, char* strABC )
{
int nValue;
nValue = abc;
cout << "Print enum - " << nValue << endl;
cout << strABC << endl;
}
Index