I want to use the system() function to open an image whose name is given at runtime. For a fixed name it works, but, errors out if I pass another argument as it is not defined for two arguments.

I want something like the following, using any function that can achieve this.

```
system("gthumb <file1>");

```

where file1 stores the name of the file given at runtime.

Thanks!