In this tutorial you will create a more complex model. The model implements a simple parser that removes comments (block comments and line comments) from a C source file. Therefore we will create two actors. One actor is responsible to perform the file operations, whether the second actor implements the parser.
You will perform the following steps:
create a new model from scratch for C
define a protocol
define your own data type
create the structure and the behavior by yourself
generate, build and run the model
Make sure that you have set up the workspace as described in Setting up the Workspace for C Projects.