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?
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?
