Hi, can anyone help me? I am new to C++ programming. I need to create a program that calculate the md5 checksum of the file that is input by user. At the moment, I managed to open the file and calculate the md5 checksum. But only if I write the path in my command
puts( md5.digestFile ("D:\\test.txt") ) ;
My problem is how can I write a command without need to write the path of the file as you can see above. I tried to write puts( md5.digestFile (pathA)) but it gives an error. I also tried to used other available command but it seems does not work.