So I'm trying to create a file and save it to a desired directory. 

eg: user-input: 

Directory? `c:\user\sample\`

Name? `hello.txt`

This is what I've tried so far:

```
char str[200],str2[200];
FILE * out_file;
fgets(str,sizeof str,out_file);
fgets(str2,sizeof str2,out_file);
out_file = fopen(str+str2,"w");

```

Can someone please help me with this issue?