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

lol IRC

Name: Anonymous 2008-02-10 16:00

17:18 < PoppaVic> there are no real C-interpreters. There are merely emulators.
17:19 < PoppaVic> there are no "ASM-interpreters" either.
17:20 < PoppaVic> there are emulators.. anf folks need to wake the fuck up and stop pointing at me.
17:24 < PoppaVic> there IS NO GODDAMNED "MACHINE CODE"

Name: Anonymous 2008-02-11 5:33

##c is hilarious
05:32:11 < nealio> atleast im trying, ive been at it for 3 hours
05:32:25 < nealio> I just dont see what is wrong
05:32:32 < nealio> with my program

#include <stdio.h>

void copyString(const char * input, char * output)
{
    int i, length = 0;

    while (input[length] != '\0')
        ++length;

    for (i = 0; i < length+1 ; i++)
    {
        output[i] = input[i];
    }
}

int main(void)
{
    char message1[80] = "Greetings and Salutations!";
    char message2[80];

    copyString(message1, message2);

    printf("%s\n", message2);

    return 0;
}


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