User profile: MrHutch

User info
User name:MrHutch
Old user name:iHutch105
Statistical data
Occupation:Programmer
Skills:C
C++
Perl
Assembly
C#
Javascript
Objective-C
History
Joined:
Number of posts:1822
Latest posts:

Random numbers not acting random, any help appreciated
Call srand once outside of your loop, rather than once per iteration. http://www.cplusplus.com/refe...

Having trouble linking curses library with CodeBlocks.
Not familiar with C::B. The only thing I might suggest is making sure your search paths have the co...

iterators incompatible?
GetB returns a copy of the list. When you call it in your loop, the begin and end calls are on diffe...

conditional ternary operator
Ternary syntax: [code]expression ? if_true : if_false[/code] Example, printing true/false strings: ...

correct use of enums?
Your assignment should be: [code]auto type = Object::OT_CIRCLE;[/code] Example: https://ideone.com/...