Running C++ In The I2C Studio Script

I am not familiar with C# nor .NET code. I know C and assembly only.I need example I2C code written with the I2C Studio script that communicates with the Tracii XL at various bitrates between 100K and 105K and writes/reads 16 bytes for 1000 loops and keeps track of NAKs and displays the results.Are there any examples that I can use?
If you know C, I would recommend to use the C++ API of our products.
There are examples in the documentation (in the installation directory). I would recommend to have a look to the master example.