User profile: LB

User info
User name:LB
Email:LB@LB-Stuff.com
Location:Richardson, Texas, North America
Website:http://www.LB-Stuff.com/
Bio:Call me "LB", pronounced 'el bee'. No, not pound, that is "lb". Remember, C++ is case sensitive!
Statistical data
Birthdate:May 11, 1995
Gender:Male
Occupation:Programmer
Skills:C
PHP
C++
Assembly
Java
LISP
C#
Javascript
Python
Fusion 2.5 Developer
Scheme
MIPS
History
Joined:
Number of posts:10004
Latest posts:

sorting vector of strings alphabetically
Just a guess: [code]std::sort(movies.begin(), movies.end(), [](Movie const &a, Movie const &b) -> b...

An unusual data type... what do I use?
If you want to guarantee 32-bits, use [tt]std::int32_t[/tt] or [tt]std::uint32_t[/tt] http://en.cpp...

While loop
On line 12 you dynamically create an array of size 0. Line 21 is then guaranteed undefined behavior.

While loop
If that were true, your code would never reach line 13 where it outputs "1".

Error In passing a random number generator
What you did: http://coliru.stacked-crooked.com/a/088a05b856aa74ee What I did: http://coliru.stacked...