Created
April 23, 2012 02:15
-
-
Save kdmkdmkdm/2468294 to your computer and use it in GitHub Desktop.
asciiC++
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
char aciiMatrix[23][10]; | |
// Loop over rows. | |
for(int i = 0; i < 23; ++i) | |
{ | |
// Loop over columns. | |
for(int j = 0; j < 10; ++j) | |
{ | |
cout << aciiMatrix[i][j] << " "; | |
} | |
cout << endl; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
char aciiMatrix[23][10]; | |
// Loop over rows. | |
for(int i = 0; i < 23; ++i) | |
{ | |
// Loop over columns. | |
for(int j = 0; j < 10; ++j) | |
{ | |
cout << aciiMatrix[i][j] << " "; | |
} | |
cout << endl; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment