- Code: Select all
double sec;
double minutes;
double hours;
I'm trying to make a fake clock, for a cutscene in the game, but I cant seem to add "hours, secs, and minutes" to the clock using strcat, is there any way that this can be done? My current code is
- Code: Select all
strcpy(text, "");
strcat(textNumber, hours);
strcat(text, ":");
strcat(textNumber, minutes);
strcat(text, ":");
strcat(textNumber, sec);
But that dosnt seem to work, I get this message