[ create a new paste ] login | about

Link: http://codepad.org/lRJxxe2l    [ raw code | fork ]

C++, pasted on Aug 7:
#include <iostream>
#include <windows.h>

using namespace std;
 
int main(int argc, char** argv) {
        
        cout << "Num data = " << argc << "\n\n";
        
        for (int i = 0; i < argc; i++) {
                cout << i;
                cout << " = ";
                cout << argv[i] << "\n";
        }
        
        
        cout << "\n process test \n";
        for(int i = 0; i < 10; i++) {
                cout << "t = " << i * 500 << "ms\n";
                Sleep(500);
        }
        
        return 0;
}


Create a new paste based on this one


Comments: