Blog
A little... extension for C++
2010-08-23 18:13:44Loops are used on a daily base by almost every programmer. Especially for-loops occur quite often.
Now, have you ever felt it's quite cumbersome to code something like the following:
for (int i=0; i<10; ++i){
do_something_here();
}
while you just wanted to write
10 times {
do_something_here();
}
and wanted C++ to understand it?
Don't worry, here's the solution. Just include this little header file and everything will work fine.
read onFibonacci numbers - the other way
2010-07-07 11:27:55Every programmer comes to the point where he or she must/should/wants to implement a programm for calculating fibonacci numbers. But I think my way is quite a new one.
read on