I'm trying to be make a console program that looks in a specified folder and shows the name of the first file. In trying to print argv[1] (the directory path) it prints a couple lines of question marks and occasionally some other different symbols. The same occurs when I try to print the name of the first file. I'm a total n00b and this is probably pretty dumb, I just can't seem to get it. Here's my code: