I want to use the `stat` function. But I don't know how to do it with variables. I get the value of DIRECTORY and sub-dir from some other process.

```
if( stat( DIRECTORY/sub-dir, &st ) == 0 )
{--}

```

I get an error message as follows `"error: invalid operands to binary /"`