在字符串中如何分离的话我有一个参数列表:使用正则表达式或以其他方式
parameters = [int commType , const char * ipAddress , const char * ipPort , int comPort , int baudRate ]
谁能告诉我怎样才能像一个我需要的参数等我需要的数据类型将它们分开:
arguments = [commType, * ipAddress, * ipPort, comPort , baudRate ]
data_types = [int, const char, const char, int, int]
请提供[MCVE(https://开头stackoverflow.com/help/mcve)。 – Kraay89
哇......这么多投票。你可能想重新提出这个问题。 –