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.

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow cppviz

cppviz Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cppviz!

Additional Project Details

Intended Audience

Developers

Programming Language

C, C++

Related Categories

C++ Frameworks, C++ Code Generators, C++ QA Automation Software, C Frameworks, C Code Generators, C QA Automation Software

Registered

2018-07-03