When you have no level, just open an empty level:

function main()
{
level_load("");
ENTITY picture=ent_create(...);
...


But all this is in the tutorial and already explained on the first few pages. It makes no sense to write a program without knowing the language.