Provides C preprocessor macros for easily creating enums, foreach loops, switch-cases etc. based on data tables.
Usage of these macros enforces good programming style by avoiding spreading of information throughout the code.
Only for GCC at the moment, sorry. Maybe Clang ... not tested.
Features
- Write a simple data table, like a spreadsheet.
- With one macro call, automatically create an enum from the table.
- Create foreach loops, that ALWAYS iterate through ALL enum elements.
- Create switch-cases, without ever forgetting a case again. Let there be OOP in C!
- Create attribute arrays from your table!
- Keep your code tidy and clean.
License
MIT LicenseFollow cppviz
Other Useful Business Software
Enterprise-grade ITSM, for every business
Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of cppviz!