Skip to content

Instantly share code, notes, and snippets.

@kdmkdmkdm
Created April 23, 2012 02:15
Show Gist options
  • Save kdmkdmkdm/2468294 to your computer and use it in GitHub Desktop.
Save kdmkdmkdm/2468294 to your computer and use it in GitHub Desktop.
asciiC++
#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;
}
}
#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