GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Any computer programmers around? Question. (https://gfy.com/showthread.php?t=538510)

wedouglas 11-09-2005 06:35 PM

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?


All times are GMT -7. The time now is 08:37 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123