r/CircleProgramming • u/Illuminatesfolly • Feb 04 '13
Try-Catch with C.
How would I write a simulated try-catch block to shelter file streams in C? C sucks.
4
Upvotes
r/CircleProgramming • u/Illuminatesfolly • Feb 04 '13
How would I write a simulated try-catch block to shelter file streams in C? C sucks.
View all comments
Show parent comment
3
u/Illuminatesfolly Feb 04 '13
yeah I ended up using setjmp longjmp to do it, but it didn't feel right- I feel dirty now.