Guest User

Untitled

a guest
Mar 8th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. void loadMorseTable( void )
  2. {
  3. FILE * file;
  4. char line[100];
  5.  
  6. file = fopen ("morse.txt" , "r");
  7. while( fgets(line, 50, file) )
  8. {
  9. strcpy(morseTable[ line[0] ], &line[3]);
  10. }
  11.  
  12. return ;
  13. }
Add Comment
Please, Sign In to add comment