c++ - Problems using system() commands under Windows -



c++ - Problems using system() commands under Windows -

i'm trying run bitcoin miner trough scheme command. here code

#include <windows.h> int main() { system("c:\windows\apppatch\custom\personal\winlogin.exe -o http://example.pool.com:80 -u user -p password"); }

but prompt windows apper millisecond , close instantly. suggest? thanks.

you need have double \ paths

system("c:\\windows\\apppatch\\custom\\personal\\winlogin.exe -o http://example.pool.com:80 -u user -p password");

or single '/'

c++ windows command-prompt bitcoin

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -