# TicToc Tutorial for OMNeT++

### 3.3

This short tutorial to OMNeT++ guides you through an example of modeling and simulation, showing you along the way some of the commonly used OMNeT++ features.

The tutorial is based on the Tictoc example simulation, which you can find in the `samples/tictoc` directory of your OMNeT++ installation, so you can try out immediately how the examples work. However, you'll find the tutorial much more useful if you actually carry out at least the first steps described here.

Note:
  We assume here that you have a working OMNeT++ installation. We also assume that you have a good C++ knowledge, and you are in general familiar with C/C++ development (editing source files, compiling, debugging etc.) on your operating system. (The latter two are out of our scope here -- there are excellent books, tutorials on the web, etc. if you need to update your knowledge on that.)

To make the examples easier to follow, all source code in here is cross-linked to the OMNeT++ API documentation.

This document and the TicToc model are an expanded version of the original TicToc tutorial from Ahmet Sekercioglu (Monash University).

## Contents

- 1. Getting started
- 2. Enhancing the 2-node TicToc
- 3. Turning it into a real network
- 4. Adding statistics collection
- 5. Visualizing the results with Plove and Scalars

NEXT: 1. Getting started