#include <string.h>
...
char text[]="Three cheers for Clyde";
unsigned int len = strlen(text);//22
As I put in my other post, you need to add
using namespace std;
after the last of your includes to access the functions.
Since in this case in C++ a string is just an array of letters, you don't need Mid$(text, posn, 1), you just use
text[posn], remembering that posn starts at 0, ie text[0] is T, text[6] is c.
You don't need Asc(), letters are just char, which is just a number.
char text_message[]="hello there how's the weather";
...
for (int index=0; index < strlen(text_message); index++) //length of the message text.
{
char frame=text_message[index]-32; //splits message into appropriate letter.
draw_image(x, 120, frame);
x+=fontwidth;
}
Jim