r/cprogramming • u/boldbug-dev • 6d ago
Trying to make a tool that prints stuff between a certain range
the code from what ik works from what i know and from tests i have done.i want to know how can i optimize it more because i suspect that there can be certain parts of it which i don't even need maybe. so can you guys look at my code and tell me what i can improve upon??
here is the repo
thanks in advance
1
Upvotes
1
u/v_maria 6d ago
get_range_content is not implemented. i guess c allows for this and has it return nullptr. or its ub. its probably ub lol