Salve,

ho il seguente problema, una funzione mi ritorna:

codice:
// Get time
char szTime[30]; getDateTime(szTime);

void getDateTime(char * szTime)
{
	time_t rawtime = time(NULL);
	struct tm timeinfo;
	gmtime_s(&timeinfo, &rawtime);
	strftime(szTime, 30, "%a, %d %b %Y %X GMT", &timeinfo);
}
ed ho un vettore di caratteri:

codice:
std::vector<char> vChar;
vChar.resize(30);
vorrei copiare da szTime a vChar con l'operatore di assegnazione = ma mi da errore...come posso risolvere il problema?

grazie!