Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. char mode[6]="";
  2. double a,b,c;
  3. //str="PID 1.4 2.4 3.4"
  4. sscanf(str,"%s%lf%lf%lf",mode,&a,&b,&c);
  5. //sscanf(str,"%s %lf %lf %lf",mode,&a,&b,&c);でも試しました
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement