Return to Snippet

Revision: 35656
at November 11, 2010 17:51 by browny


Initial Code
int main (int argc, const char *argv[]) {

  if(argc < 2) {

    cout << "Drag and drop files to the exe" << endl;
    cin.get();
    return 0;

  } else {

    string line;
    for(int i = 1; i < argc; i++) {
      cout << "> load image from: " << argv[i] << endl;
    }

  }

}

Initial URL

                                

Initial Description

                                

Initial Title
Drag and Drop onto Exe to execute

Initial Tags

                                

Initial Language
C++