Guest User

Untitled

a guest
Feb 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. double readValues(char line[BUFSIZE])
  2. {
  3. /*  char *token;
  4.     double value;
  5.     token = strtok(line,"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ: "); 
  6.    
  7.     while (token != NULL)
  8.     {
  9.         printf("%s", token);
  10.         token = strtok(NULL, " ");
  11. printf("före scan\n");
  12.         sscanf(token, "%lf", &value);
  13. printf("%s", line);
  14.     }*/
  15.  
  16. return 5; /*använder 5 tills det att jag har fått resten att fungera.*/
  17. }
Add Comment
Please, Sign In to add comment