Hard to say, that depends on a) your own background in C/C++ programming, b) your actual task and what existing code/examples you can use, c) your learning strategy and your own skills, ...
If you are interested in simulating your own protocol and you have a basic implementation, I suggest to checkout existing frameworks like INET (maybe the wireless tutorial, available in the latest development release / Github repository) and start by understanding it and the OMNeT basics (TicToc tutorial and various other courses with materials are available online).
Then create a simple wireless tutorial without MAC protocols, only a simplified PHY (idealwireless) and integrate your MAC protocol (your TDMA solution).
That's what I would probably do...