I've been learning openCV from scratch as an amateur and I'm getting on quite well, but the one thing I don't understand is how to load an image using this. For example the basic code is:
#include "opencv2/highgui/highgui.hpp"
using namespace cv;
int main( int argc, char** argv ) {
    Mat img = imread( argv[1], -1 );
    if( img.empty() ) return -1;
    namedWindow( "Example2", WINDOW_AUTOSIZE );
    imshow( "Example2", img );
    waitKey( 0 );
    return 0;
}`
I think I understand that argc is the number of arguments and argv[i] is the particular argument - like argv[0] is the main proc. I don't see how this helps me, though. Say I have an image located at C:\image.jpg - how would I load this using that function? Many thanks for the help, I have looked at some similar questions but I still don't understand. 
 
    