→ johnjohnlin: fscanf("radar_dis:%d radar_str:%d", &a, &b) 01/08 19:56
假設我的資料型態如下
radar_dis: 234 radar_str: 114 frame_radar: 0 camera_frame: 0 count: 1 radar_ang: 476
radar_dis: 234 radar_str: 114 frame_radar: 1 camera_frame: 0 count: 1 radar_ang: 415
radar_dis: 234 radar_str: 113 frame_radar: 2 camera_frame: 0 count: 1 radar_ang: 410
要如何只讀取數字的部分?
--
Sent from my Windows
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.125.35.138
※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1515403780.A.542.html