int main(int argc, char *argv[]) { std::string args = ""; for (int i = 1; i < argc; i++) { args.append(" \""); args.append(argv[i]); args.append("\""); } return mainProg(args); }
int main(int argc, char argv[]) { argc; argv[0]; return mainProg(); }
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { return mainProg(lpCmdLine); }