SHARE
TWEET

Untitled

a guest May 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ech0@Asus1001p:~/Documents/workspace$ ./2wire*
  2. ./2wire.c: line 3: using: command not found
  3. ./2wire.c: line 5: syntax error near unexpected token `('
  4. ./2wire.c: line 5: `int main ( int argc, char** argv )'
  5. ech0@Asus1001p:~/Documents/workspace$
  6.  
  7. Below is the script.. What am i missing?
  8.  
  9. #include <iostream>
  10.  
  11. using namespace std;
  12.  
  13. int main ( int argc, char** argv )
  14. {
  15.   int a;
  16.   int b;
  17.   int c;
  18.   int d;
  19.   int e;
  20.   int f;
  21.   int g;
  22.   int h;
  23.   int i;
  24.   int j;
  25.  
  26. for (a=0; a<10; a++)
  27.   for (b=0; b<10; b++)
  28.    for (c=0; c<10; c++)
  29.     for (d=0; d<10; d++)
  30.      for (e=0; e<10; e++)
  31.       for (f=0; f<10; f++)
  32.         for (g=0; g<10; g++)
  33.          for (h=0; h<10; h++)
  34.           for (i=0; i<10; i++)
  35.            for (j=0; j<10; j++)
  36.              cout << a << b << c << d << e << f << g << h << i << j << endl;
  37. return 0;
  38.  
  39. }
RAW Paste Data
Top