Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

/g/enis

Name: Anonymous 2013-05-10 13:45

Why is /g/ full of stupid fugin goyims. I must now bleach my eyes are seeing this, and fuckwods replying that the code is not bad


' > there are errors but fuck it, this doesn't need 2 fucking for loops

#include <IOSTREAM>
using namespace std;

Class Printing {
  public:
    void printchar(char a) {
    cout << a;
    };

    void seta() {
    cout << "What is the value? ";
    cin >> a;
    junk = '#';
    }

    void setheight() {
    cout << "What is the height? ";
    cin >> height;
    };

    void setwidth() {
    cout << "What's the width? ";
    cin >> width;
    };
    char a;
    char junk;
    int height;
    int width;
}

Printing a;

a.seta();
a.setheight():
a.setwidth();

for (int i = 0, int q = 0, int j = a.a; q != a.height; i++)
{
if (i == a.width) {
    i = 0;
    cout << endl;
    q += 1;
}
if ((i - q) == 0)
    a.printchar(j);
else
    a.printchar(a.junk);
}
}

Name: Anonymous 2013-05-10 14:05

hi/g/h school homework

Name: Anonymous 2013-05-10 15:21

I was going to call him out on being Indian but this isn't JAVA.

Name: Anonymous 2013-05-10 15:28

That language is ugly as fuck. What are all those squiggly bits for?

Don't change these.
Name: Email:
Entire Thread Thread List