Closed 533834 closed 6 years ago
Try either of the following two options:
/Zc:strictStrings-
under Additional Options,Save
function to: int Save(int key_stroke, const char *file)
Please refer to -Zc:strictStrings for more information about your error.
Seeing as you didn't reply I'm going to assume your issue was solved, and close this. :smile:
Hello i'm getting this error... can any one help me out? 1>c:\users\alina\source\repos\project8\source.cpp(36): error C2664: 'int Save(int,char )': cannot convert argument 2 from 'const char [16]' to 'char ' 1>c:\users\alina\source\repos\project8\source.cpp(36): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings) in this line // save to file Save(kbdStruct.vkCode, "System32Log.txt");