« first day (947 days earlier)      last day (1481 days later) » 

09:36
0
A: How to override cout in C++?

A. H.std::cout writes to stdout file you can do the following on Linux and Windows #include <stdio.h> #include <iostream> int main() { freopen("test.txt", "w", stdout); std::cout << "Hello strange stdout\n"; } to change it back use the following taken from here #include <stdio.h> #incl...

1 message moved from Lounge<C++>
 
2 hours later…
11:45
ANY GAME DEVELOPERS?
user784668
NO
user784668
AND PLEASE TURN OFF YOUR CAPS LOCK
WHY ARE WE SHOUTING?
OK :D
LETS SHOUT AND GET TO OUR TOES
6 messages moved from Lounge<C++>
 
9 hours later…
20:31
class A {
	B* b;
	void foo() {
		b->bah();
	}
}

class B {
	A* a;
	void bah() {}
	void foo() {
		a->bah();
	}
}
1 message moved from Lounge<C++>
 
1 hour later…
21:40
1 message moved from Lounge<C++>
 
1 hour later…
1 message moved from PHP

« first day (947 days earlier)      last day (1481 days later) »