Is there a different syntax to use to make strings on the core? I'm trying to create a giant string of times and parse it later, but none of these are compiling for me (ignore the comment outs):
> //std::basic_string<char>* stringTime[10];
> //const string stringTime[];
> //std::string stringTime[];
> //string stringTime[];
> //char * stringTime[];
> //typedef vector<string> stringTime;
also using these:
> #include <iostream>
> #include <string>
> #include <vector>
> using namespace std;
This is what I'm essentially trying to read out...
stringTime = stringTime + strokeCount + pressTime; sprintf(publishTime, "%e", stringTime); Spark.publish("getTime", publishTime);
^not sure if %e or %u or %f or what's appropriate there either...
any help would be awesome!!!!
@bko, I did read your string class tutorial, so wondering if you could provide any feedback on this problem as well.
Any suggestions would be greatly appreciated!!!!