Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting. Why don't you use an include file directive there?

    enum_example_t
    {
        #include "example_values.txt"
        EXAMPLE_Max,
    } 
where example_values would have the strings 'EXAMPLE_foo,'? Just wondering.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: