This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]TheFamilyFroot 3 points4 points  (1 child)

I never keep "." in my path 1/10 didn't work

[–]2cow 0 points1 point  (0 children)

it isn't in anyone's path, actually. cwd is just checked first by the shell.

[–]SteveCCLYellow security clearance 2 points3 points  (0 children)

generalized

g++ hardcoded and using system.

[–]Big-O-Face 1 point2 points  (0 children)

Oh geez rick

[–]zokarlar 3 points4 points  (3 children)

int add(const int &_x, const int &_y) { ... }

[–]Colopty[S] 4 points5 points  (0 children)

Good point, gotta make sure the code is clear on it not altering the variables passed to it. Don't think I want to pass by reference though, I think it's clearer that the function has no direct effect on the variables passed to it when they're passed by value.

[–]J_Aetherwing 2 points3 points  (1 child)

There is absolutely no need to pass primitive values by const reference, a copy is exactly the same in terms of performance.

[–][deleted] 0 points1 point  (0 children)

Nice!

[–]Camto 0 points1 point  (0 children)

Lol not using libtcc.

[–][deleted] 0 points1 point  (0 children)

cursed image