C++ Error, Visual Studio 2013 Bug?
Go to solution
Solved by fizzlesticks,
EDIT4: Upon adding the 115000 and 20000 to the command line arguments in the debugging section of the project properties, I get a bad alloc exception given exactly below and the source provided by the Windows debugger. Apparently MSVC is horrifically wasteful with its memory or Windows is too constraining to allow data sets of certain sizes to be generated instantaneously. Just one more thing to add to reasons I despise Microsoft.
115000 * 20000 * sizeof(short) is a big number, you're going over the 32 bit limit. Make a new configuration for 64bit. If you stop instantly jumping to the conclusion that Microsoft is terrible you might be able to figure some stuff out.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now