AnsweredAssumed Answered

Write to textfile

Question asked by sutter.claudio on Feb 19, 2014
Latest reply on Feb 20, 2014 by Andrew Neil
Hi 
I'm trying to write some values to a textfile but without success. I work with the IAR Workbench. Bellow the code which I found also in the Arm User Guide:

#include <stdio.h>
  FILE *f;  f = fopen ("Test.txt","r");                      /* Open a file from default drive. */  if (f == NULL)  {    printf ("File not found!\n");  }The error is FILE and f undefined Can anybody help me what I'm doing wrong?Regards

Outcomes