I have a few lines of code:

```
strcat(myTxt,"data");
strcat(myTxt,"\n");
strcat(myTxt,"data1");

```

In between the lines I've done `strcat` of `"\n"`; however, when I do a write to a text file the `"\n"` is ignored and all the strings are concatenated as `datadata1`. How can I work around this issue?