As a quick guess your path needs to have double \ otherwise each \ will become an escape code using the next character, and that will generate a file path that dosn't exist.
try err = fopen_s(&filepointer, "C:\\Documents and Settings\\user\\MyDocuments\\OutputTest.txt", "w");
you could confirm the file is opened by checking the variable err you defined.