Hey all,
I was trying to find a proper answer but I keep getting mixed answers. If I make a program in Visual Studio Express or student versions, am I allowed to sell the software without giving away the source? Or is there some sort of licensing agreement that stops me from doing it? A lot of...
That's true, but even if they're economy is poor, Putin is known not to care too much for his people. He isn't going to lose major trading partners in the West either. Germany gets 37% of their oil from him and other countries get large portions as well.
Obama has put out some sanctions on 20...
Isn't it so far not really affecting their economy? I know their economy dropped but it went back up once investors realized the sanctions did barely anything.
Whats sad is that Ukraine was the third largest nuclear country and they gave it away during the Budapest Momrandum on Security...
The statements that Crimea is heavily supporting Russia is also not completely true. Although most of Crimea is Russian speaking, for the past number of years, there haven't been much separatism or conflicts between different minorities. And to add to that, not all Russian speaking citizens are...
Oh damn, okay ill change it. I don't think visual studio 2010 supports C++11 or at least not all of it so Ill just copy and paste for now.
Oh yeah, I was doing a test of that before hand, completely missed it here thanks! :D
I know, the only real reason your seeing them here is because I...
Did it and it worked, I actually fixed the error in a odd way. The program doesn't work as intended because the main loop is actually quite heavily flawed at the moment but ill fix that now that the error is gone.
The data I gave to the build function was just a 512x512 1D array of pixels all...
Yeah I am, I went step by step countless times and I know where my program crashes, but this error is the first one to pop up. I set prev_nodes->level to a variable (I tried a constant number as well), but it doesn't actually register it the next line after when I print it with cout. It only...
I agree I should but I really want to get this whole thing working because every time I write a program with pointers, it usually leaks or crashes. Its my worst concept in programming so far so I really want it down even if I will change it to std::array and std::vector. Especially since I...
I actually just did a bunch of searches. New and delete are C++'s versions of malloc, calloc and what not. The difference is new is type safe and calls the constructor where as malloc doesn't have to. The benefit of malloc/calloc and what not is that you can resize them without creating a whole...
Oh damn, completely didn't notice that one LOL thanks for pointing it out.
Oh wait, I was? I thought that when you create a pointer, all it is is just a string or a bunch of bits that reference some memory location. So if I created the pointers and initialized them to another pointer, than it...
Okay, well ImagePixels will be a pointer to the pixels of a SDL surface so once the surface is cleared, the pointers data should be too. I assume the destructor will properly destroy the Quadtree structure.
I'm not sure, this is the first time someone told me to do it that way. I learned it...
Hey guys, Im working on generating a quadtree by using a bottom up traversal. The idea is that I first make all my leaf nodes, add in the color value of the image I want to store inside my quadtree, then I start making higher and higher levels by using the nodes before it as a basis to create...
Nah, we do a course about proofs and proving statments which have a lot in common with programs. I might learn those stuff next semester in statistics but Im not sure :P
Thanks for the link, yeah it seems super important if its everywhere XD
Yeah probably, just something I heard or maybe it...
Yeah I know, a dictionary isn't ever sorted because it has no order, but if you retrieve the data like you normally do by going from index 0 to whatever number, then your process of retrieving the info will make your result be a sorted list(if you wanted to print or return a list type from the...
Well if you want to end up working with point clouds, you'll always have upwards of hundred thousand points for practically all objects (they're super memory intensive). Hmm yeah, I was thinking that making a dictionary would use a lot more memory, integer for key and for the value.
Well I...
Hey thanks for the help, i think that one of the values for adv surr is basic since it loops through a bunch. Ill check once I get home, and as a note, as far as I remember, adv surr doesn't change properties in windows.
EDIT: Sorry for double post, school computer was being stupid. Checking...
Yeah it has stuff like stereo, i think one of the options when clicking adv surr is basic since it takes you across all the options, Ill do a test when i get home so ill edit this post, but from what I noticed, it doesn't change the speaker settings on the computer O.o.
Hey all, I'm playing around on my school computers and I was wondering, whats a efficient method for inserting new values into a sorted list? I read up that you could use a binary search every time you do insert but I went about a different way of doing it.
I'm using python because that's all...