TD

Dependencies:   mbed

exercice2.cpp

Committer:
jomfec
Date:
2016-05-02
Revision:
0:85af55b43299

File content as of revision 0:85af55b43299:

/*#include "mbed.h" 
Serial pc(USBTX,USBRX);  
LocalFileSystem local("local");  
char read_string[64];  
int main () 
{ 
  FILE* File1 = fopen("/local/textfile.txt","w");  
  fputs("Beaucoup de mots et de lettres...", File1)
;  
  fclose(File1);     
  FILE* File2 = fopen ("/local/textfile.txt","r"); 
  fgets(read_string,256,File2);    
  fclose(File2);      
  pc.printf("text data: %s \n",read_string);    
} 
*/