Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
1 Commented Post
0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 3

2 Posted Topics

Member Avatar for meabed

[QUOTE=bitforce;182305]An easy way to swap 2 variables without using another variable: [CODE]a=a+b; b=a-b; a=a-b;[/CODE][/QUOTE] here's a one-statement version: [code] a = a + b - (b = a); [/code]

Member Avatar for Lisa1110
3
1K
Member Avatar for presario

Where should I include other header files, in header file or source file? What is the difference between the below two: Example: [code] //file1.h #include "file2.h" ... [/code] OR [code] //file1.h class class2; ... [/code] [code] //file1.cpp #include "file2.h" ... [/code]

Member Avatar for grumpier
0
126

The End.