unfortunately I do not determine which Antivirus the user has.
I don't think saying "Incompatible with shitty anti viruses." when the user downloads/buys the program is an option.
Ok, I wasn't sure in the original question whether you were referring to your PC, or PCs in general - in the former case, you can just whitelist your application in the antivirus (unless its really so shitty it doesn't even have that option ;) ), but for ALL PCs, its a little more complicated. If, as you said, multiple antiviruses all flagged your application, there has to be some common component triggering that behaviour, so you might be able to find that out and possibly alter it.
Aside from that, maybe contact the manufacturers customer support, and see if they can do anything (like making adjustments to their detection routine, to produce less false-flags like your application; though I can't say how likely that is to happen)?
It was the latter. (sorry)
I have already debugged, The only part of the program which does not run as expected is the writing to a file.
std::ofstream outfile("Output//Merged.json", std::ofstream::binary);
int len = json.length();
char * buff = new char[len];
memcpy(buff, json.c_str(), sizeof(char) * len);
outfile.write(buff, len);
outfile.close();
(I have tried multiple extensions and methods of writing)
:/
only library I am using is RapidJson
I am running under admin permissions