All Questions
Tagged with g++ performance
2
questions
-1
votes
1
answer
205
views
Conditional statements with braces versus without braces - which is fast in C, C++ [closed]
I know this is silly, but I'm quite curious to know that is there any speed difference using conditional statement (i.e. for, if, while, do while) in C++ with braces and without braces.
FYI : I know ...
0
votes
2
answers
876
views
Why does a c++ code run significantly longer on one computer than another? [closed]
The code is exactly the same -- I copied it from one computer to another. The code is compiled with g++-4 (4.9.1) obtained from fink on OSX on both machines, and is not run in parallel.
Compiler ...