123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|566|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> C/C++/C#/Other -> C++ class, Week 3

Sat, 10 Oct 2009, 09:14
Afr0
Post your answers for Week 3! This week is about Control Statements.

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Sat, 10 Oct 2009, 16:45
Spare
1.

I actually first was thinking !y, but it says does not equal 0.

2.


3.

Mon, 12 Oct 2009, 10:31
Afr0
1.


2.


3.


-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Mon, 12 Oct 2009, 15:01
Phoenix
Or, an even more unusual solution:


You can achieve some pretty dazzling static algorithms with templates, although they usually aren't all that meaningful.
Mon, 12 Oct 2009, 18:53
Cower
For the sake of being able to comment on the correct-itude of your answers, could you post the problems or summarize what they want in answer in the future?