system("netsh wlan show profile");
I executed this cmd using c program now, i want all profile names shown in the output and save it in variable(array). How to do that also please tell me in detailed because i don't have knowledge of c, i am trying to learning it.
systemonly runs a command and gives you its exit status. To get the actual output of the program read about thepopenfunction (or_popenon Windows).