我有一个应用程序,它以strings的形式接受“命令”,这些命令被解析,然后根据字符串中的第一个单词传递给一个特定的类。我将string命令解析为一个string[],并打开第一个元素以确定要调用的正确函数。actual list has ~50 strings
下面是我的解析函数, only one command will have this format:
//ex:
我做了一些简单的代码来测试一个数字,看看它是否是素数,但是在给它输入大素数以测试程序在arduino上的速度时,它只需要一个长度为9/下位的数字,我测试了我的读函数,它返回整个数字,但是BigNumber不会解析它";//start 2 / 'curr++' start of loop ... the testing of prime numbers here编辑:在做了更多的测试之