I am using `fprintf` to output data to a .txt file. So far I have:

```
FILE * pFile;
CString equalSignsC('=', 80);
CString FileName(name.project.c_str());
FileName += "Stats.txt";
pFile = _wfopen(FileName, _T("w"));
fprintf(pFile, "%s", equalSignsC);
fclose(pFile);

```

I want to create a CString that repeats the character `'='` 80 times but when I look at my output, `'='` is only printed once. I'd like to avoid using `ofstream` when writing to a file and I'd also like to avoid using a loop to print out the equal signs. Thoughts?