You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile the C++ code (for windows 11) with g++ (mingw) and I get a bug:
PS C:\Users\User\Keylogger\windows> g++ -c klog_main.cpp
klog_main.cpp: In function 'int Save(int)':
klog_main.cpp:132:57: error: 'strcpy_s' was not declared in this scope
strcpy_s(lastwindow, sizeof(lastwindow), window_title);
^
klog_main.cpp:137:23: error: 'localtime_s' was not declared in this scope
localtime_s(&tm, &t);
^
Is this a bug or problem in my pc?
The text was updated successfully, but these errors were encountered:
I tried to compile the C++ code (for windows 11) with g++ (mingw) and I get a bug:
PS C:\Users\User\Keylogger\windows> g++ -c klog_main.cpp
klog_main.cpp: In function 'int Save(int)':
klog_main.cpp:132:57: error: 'strcpy_s' was not declared in this scope
strcpy_s(lastwindow, sizeof(lastwindow), window_title);
^
klog_main.cpp:137:23: error: 'localtime_s' was not declared in this scope
localtime_s(&tm, &t);
^
Is this a bug or problem in my pc?
The text was updated successfully, but these errors were encountered: