So, I have an idea of how to use int main(int argc, char* argv[]) but I don't know how to use it in the command line.
What I want to do is to copy a set of characters from the a file on my desktop, into a array, to then print it on the screen. Can anyone give me some pointers as to what I can do in the command line?
Well, argc holds the amount of arguments passed to the "console" (including the .exe call) and argv contains char*'s that are seen as strings (which you can refer to up to argc-1). When you check argv[1] for a file name, you can use that as the input for the creation of a filestream to that file. Check the tutorial section on file streams and you'll know what I mean.