Guest User

Untitled

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