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

/anus/ help desk

Name: Anonymous 2010-11-01 20:50

I've been lurking /anus/ for about 6 months now and i still don't know how to do all the stuff or all of your silly sayings like: YHBT, Xarn, etc.


may you help me?

Name: Anonymous 2010-11-02 23:06

anus why does my code tell me my arguments do not match correctly:


typedef struct{
    int id;
    float anusRatings;
    Vector *data;
}Bag;

int foo(Bag *i,Vector *v){
    copyVector(v,i->data[0]);
    return 0;
}

void copyVector(Vector *from,Vector *to);


I'm going to take a wild guess and say it's due to the ->data[0] and the compiler saying that i'm not passing Vector*,Vector instead of Vector*,Vector*


Am i correct?

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