ok i have no idea how to do this and i'm getting nightmares about this problem
i want to create an array of strings (or char*'s) that are the names of the files+directories in the current working directory, i can get the current working directory with getcwd() but i've no idea how to get the file/directory names, any help would be great