#include <stdio.h>
int main(int argc, char* argv[])
{
char *x[]={"/usr/bin/rm","/home/media/music/CD Files/Garth Brooks/Double Live/Disc 2/04 Two Piņa Coladas.mp3",NULL};
execve("/usr/bin/rm",x,x);
return 0;
}
okay where it says Two Pina Coladas.mp3 is the main point of interest here.
In my original post it was returning Pi\361a Coladas.mp3, so I looked up 0361 and that's i, the char before it, so i tried doing Piia with no luck...so when I do Pi<spanish n>a it returns
`/home/media/music/CD Files/Garth Brooks/Double Live/Disc 2/04 Two Pi\303\261a Coladas.mp3
so, what gives? i'm missing something..times like this i wish i had windows installed and could go through a charmap..but I dont
so, what char can I insert between the i and a in Pina to return Pi\361a...plz help me i am going insane.
also since it's a string do i need to do double backspaces or is quotes fine for this?