Strings often use the characters from 0x00 to 0x7F. Short of using constant chars and include strings, is there a better way? %c and using a number didn't work (I think is referencing the memory address at 0x00000080 instead of a value).
I know the first method doesn't work - I've tried it. The second method is a bit tedious, rather indirect - is there a better, more direct way than this, for setting an actual character, like setting 0x6E to get a lower case "n"?Code:char SampleString[100]; const char SpecialChar80[2] = { 0x80, 0x00 }; // an alternative - null included sprintf(SampleString, "Special %c character!", 0x80); // doesn't work sprintf(SampleString, "Special %s characters!", SpecialChar80); // is there a more direct way?