#include "stdio.h" #include "teste1.h" int main() { teste1 teste01; string msg; msg = teste01.getMessageBoard().getMessage("USIM5"); printf("Message 0: %s\n", (char*)msg.c_str()); teste01.Tick(); msg = teste01.getMessageBoard().getMessage("USIM5"); printf("Message 1: %s\n", (char*)msg.c_str()); teste01.Tick(); msg = teste01.getMessageBoard().getMessage("USIM5"); printf("Message 2: %s\n", (char*)msg.c_str()); teste01.Tick(); msg = teste01.getMessageBoard().getMessage("USIM5"); printf("Message 3: %s\n", (char*)msg.c_str()); printf("Press any key to exit\n"); getchar(); return 0; }