Raised This Month: $ Target: $400
 0% 

Strings in enums?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sake
Senior Member
Join Date: Jul 2011
Old 07-19-2011 , 09:12   Strings in enums?
Reply With Quote #1

Hello there,

I have been wondering if something like that would be possible:

PHP Code:
enum sampleEnumeration
{
    
stringEnum[] = "hello world"//doesn't seem to work
    
numberEnum // works!

What am I doing wrong?

greetings

sake
sake 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 01:08.


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