I have a project that reads in a file supplied by command line arguments. for testing purposes, it is the first argument (argv[1]). I tried to add the name of the file by going Projects->set programs' arguments-> and just typing in the name of the file under Programs arguments (for both the release version and the debug). However, my program always terminates after checking for the existence of the file passed from command line, meaning it was never passed in. If I execute my program from command line and manually add the file name, it works fine, it just does not work when I do it in codeblocks.
Any ideas?