Advertisement
Guest User

halp

a guest
Jan 26th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. using namespace std;
  4.  
  5. const int numRows = 3;
  6. const int numCols = 10;
  7.  
  8.  
  9. int main(){
  10.     ifstream myfile ("symbols");
  11.     char array = [10];
  12.    
  13.     for(int i = 0; i < numCols; i++){
  14.         for(int j = 0; j < numRows; j++){
  15.             for(int k = 0; k < 10; k++){
  16.                 array[i][j][k+1] = '\0';
  17.                 cout << array[i][j][k] << endl;
  18.             }
  19.         }
  20.     }
  21.     fin.close();
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement