Raised This Month: $51 Target: $400
 12% 

Get amount of rows in enum


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SomePanns
Senior Member
Join Date: Dec 2013
Old 05-25-2016 , 13:17   Get amount of rows in enum
Reply With Quote #1

So, I'm trying to figure out how to count the amount of "rows" there's in a specific enum.

For example:
Code:
enum EnumRows
{
VAR1=0,
VAR2,
VAR3,
VAR4
};
In this case, there are 4 "rows" in the enum, but how would I count that with a function?
SomePanns is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode