Jump to content

Recommended Posts

First time using Chameleon and I'm stuck.

enum MY_ENUM {ENUM0, ENUM1, ENUM2};

int myIntArray[ENUM2];

void main() {}

Why can't I use an enum value as array size ?

Works with BoostC.

Cheers

Reynard

 

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×