thanks again for all the help guys, as with your example of the time which I think could work alot better than mine I have my time stamp store in the array
Code:
char createdTime[] = {_ct1,_ct2,_ct3,_ct4,_ct5,_ct6,_ct7,_ct8, '/0'};
where as you have
Code:
std::string hexTime( "01 6E 70 FE B9 C8 01 00 " );
I've been trying to insert mine as
Code:
std::string hexTime =createdTime;
It compiles but then gives me crazy output so i'm guessing this is not the right way to go about it. I was wondering if it is something to do with my declaration or theb fact my CreatedTime array is storing each byte of the time stamp in its ascii format and not in the hex characters as you have in your string?