sscanf格式 的C输入 ... const char* pat="( %d , %d , %d )"; int a, b, c; std::cout << sscanf("(1,2,3)", pat, &a, &b, &c) << std::endl; ...
確定! 回上一頁