On 13 Mar 2019, at 15:22, Alia <
alia5...@gmail.com> wrote:
>
> Can you help me with more detail how can I do that? Can i edit veins example or should I write a new one ?
If you want to learn how to use Veins, you will have an easier time if you simply modify the Veins tutorial example. Change the behavior of the application (e.g., how it reacts to received messages, when certain events are scheduled, ...), change the network, change the road traffic, ...). If you are unsure which parts are stored in which files, you might want to do the OMNeT++ TicToc tutorial, which explains how the contents of files translate to different behavior of the simulation.
If you feel confident in your knowledge of C++, OMNeT++, and Veins, you will get much cleaner results if you put your code in a separate project that links against Veins as an external dependency. I would not consider this to be a good place to start, though.