Forum: C++ Dec 29th, 2008 |
| Replies: 3 Views: 732 Then which version is better? Or at least preferred? Does the first version (may) have bad consequences? |
Forum: C++ Dec 29th, 2008 |
| Replies: 3 Views: 732 Where should I include other header files, in header file or source file? What is the difference between the below two:
Example:
//file1.h
#include "file2.h"
...
OR |
Forum: C++ Dec 29th, 2008 |
| Replies: 47 Views: 65,364 here's a one-statement version:
a = a + b - (b = a); |