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

WTF

Name: Anonymous 2008-10-07 12:46

Hey /prog/ can anyone tell me what the hell is going on in this program?

#include <iostream>
using namespace std;

void fun (int data);
void mystery(int data);
void main( )
{
    int data;
    bool start =true;
   
    cout<<"Please enter an integer value : ";
    cin>>data;
    fun(data);
    mystery(data);
   
   
}

void fun(int count)
{
    char index = count;
    while(index >= 0)
    {
        cout<<index;
        index--;
    }
}

void mystery(int count)
{
    char index = count;
    while(index<count)
    {
        cout<<count;
        index++;
    }
}

Name: Anonymous 2008-10-10 13:53

>>29
Yes you fucking piece of shit, someone is wrong on the internet, about programming, and this is a programming board.
Just because you can't understand jack shit about what I'm talking about in >>28, doesn't mean I shouldn't be posting it.
So fuck you, bump. >>20 is a faggot, and I'm still waiting for a reply from him.

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