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

c programming is hard

Name: Anonymous 2012-04-17 16:47

so for my game i figured i would need a function to put an thing in a certain position, i wanted to allow for multiple things at the same position so my get would need to return a list of things wait what there's no lists in C i'm stuck

programming is hard let's smoke a joint

Name: Anonymous 2012-04-18 10:36

>>10
im trying to become an expert programmer bro :(

could i solve the problem ny having a function such as:

int get( coords, &result) {}

so, you'd return the number of results and make result point to the first result... then i can just use ptr arithmetic to loop over all the results?

perhaps i sjould go and read some more code.

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