Hi to all. I'm a c++ beginner (but not supposed to be) and i have been assigned
to right a network simulator for an undergraduate network course. I have been given a code for a csma/cd simulator, and based on this, i'm supposed to do something similar. But unfortunately, i can't run this code properly. What i mean is that i user a c++ compiler, the compiler returns no errors, but when i run the code it only shows one screen which says Loop No: 0 and nothing more. It is not supposed to work like that, and having no errors when compiling i dont know what i can do. I compile it in devc++ in Windows 8 pc. I give you the link for the code, it is not large enough and i think an experienced programmer wont find it difficult, and i would just like to let me now if you managed to compile and run it properly, and with what system - compiler.
I would be really very very grateful if someone solved my problem.