View Single Post
Old 11-09-2005, 06:35 PM  
wedouglas
So Fucking Banned
 
Join Date: Aug 2004
Location: Dearborn, MI
Posts: 5,921
Any computer programmers around? Question.

I have this

int fcn(int blahg, char blahf, int blahd){
int collisions = 15;
return collisions;
}

int main(){

int stuff;
stuff = fcn(blah , hah, lol);

cout << stuff;

}


Shouldn't stuff = 15 and it would print out 15...

The functions work perfectly, but the value for stuff is some stupid number like 13134.

Any reason that collisions wouldnt return correctly?
wedouglas is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote