Message from C, C++ discussions

January 2020

— What is this?

— 

COORD times() {
time_t rawtime = time(NULL);
struct tm t;
_localtime64_s(&t, &rawtime); t.tm_mon += 1; t.tm_year %= 100;
HANDLE hconsole = GetStdHandle(STD_OUTPUT_HANDLE);
COORD po;
po.X = 58;
po.Y = 20;
SetConsoleCursorPosition(hconsole, po);
cout <<"year:"<< t.tm_year<<' '<<"month:"<< t.tm_mon <<' '<<"day:"<< t.tm_mday <<' '<<endl<<"hour:"<< t.tm_hour <<' '<<"minutes:"<< t.tm_min <<' '<<"seconds:"<< t.tm_sec << endl;
po.X = 1;
po.Y = 1;
SetConsoleCursorPosition(hconsole, po);
return po;
}

— Game functions

— Time

— Function

— Can you see the code c++

— Looks like some part of DRM protection, I can't tell something more specific about this code, I don't have expertise in this

Message permanent page

— Thanks :)

— What with this one? what is your question?

— "Can anyone help me"

— That's not a valid question :)

— He died before having the time to write the question 🤷‍♂️