189 Posted Topics
Re: Go to The Pink Teacup for breakfast. Fried chicken & apple fritters. So good. I don't know their new address as they've moved since I was there in October, but it was one of the best breakfasts I've ever had. Also, there's a lot of really good shopping spots near … | |
Re: I don't know if this would be how you want to do it, but my team in school ordered all variables by byte order, largest (long, double) to smallest (char, bool), followed by variable size (strings, containers, etc...). I'm not sure if it really made a difference in compile times, … | |
Re: Try: [CODE] IntegerSet(int a[]); [/CODE] | |
Re: Try: [CODE] TextBox6.Text = dr(0).ToString [/CODE] I don't know VB, so however the syntax is supposed to be I have no clue, but this is the idea. Because you're only selecting a single field, the reader only has that field, so it's at index 0 as far as the reader … | |
Re: Your problem lies in the page life cycle for .NET. The process of the page load causes validation to occur, then event handlers. This causes all validate controls to be processed, then the fields are set to invalid and setting up the validate functions to be called in the next … | |
| |
Re: Games generally work a lot more phases than just game design => code. There's concept design (treatment, high concept, general ideas, etc...), game design (character development, level design, items, backstory, serious breakdown of algorithms & gameplay systems, etc...), tech design (module interaction, coding standards, class members & functions, etc...), then … | |
Re: It may be better than Windows starter editions, but beyond that, it's going to be useless to most anyone who doesn't use a netbook. And even then, it will be useless to people using netbooks out of WiFi range. Its main advantage, in my opinion, is going to be the … | |
Re: Just for craps and chuckles, have you tried using -0.2f? It's been a while since I've worked in 3D, so I'm not 100% on which coordinate system DX uses. | |
Re: You really think that Google is doing this for human rights and not as a PR stunt? It'd be the perfect opportunity for them to pull out of China seeing as how they're at about 25-30% of the market behind Baidu at 60ish%, and they're not gaining any ground. They … | |
Re: I prefer Microsoft Visual Studio, but I think that may be because it's what I learned on. | |
Re: [QUOTE=Ancient Dragon;1095460][URL="http://www.stltoday.com/forums/viewtopic.php?t=689541&postdays=0&postorder=asc&&start=0"]An interesting and mind-boggling thread[/URL]. When God created the universe 6,000 years ago He made it look like the universe was 16 billion years old. Yea, right :)[/QUOTE] At the risk of sounding fanatical, how do you know? I'm not saying that I agree that the universe is only … | |
Re: 1. Please remove your line numbers and use code tags. 2. We can't help you unless you tell us what you need help with. | |
Re: When your definition of a party is 100+ people in a fire hall playing Counter Strike and Warcraft 3. | |
I just read an article on The Register about Google Chrome OS introducing a new ActiveX style plug-in (Native Client) that allows the browser based OS to run native code and it just got me thinking. Am I alone in thinking that running *everything* on a browser isn't such a … | |
Re: [QUOTE=Joehype;1096638]Hi guyz, could anyone please assist me with a code to load an image bmp, pln etc in C++. I'm using OpenGL Library. Please assist, in dire need. Joel[/QUOTE] [URL="http://www.daniweb.com/forums/thread243161.html"]Here's a thread[/URL] with a code snippet I put up a while ago. This will work for .bmp files at least … | |
Re: You'll see stuff like this happening somewhat often in the game industry as many times. The developer is given a schedule from the publisher, who may not always have a firm grasp on how long things take to get done. Or they do and they don't care. Sometimes it's the … | |
Re: This is assuming the error is coming from lines 32-37. Your else statement is inside your if statement's braces. The error is produced by the IDE thinking there's no if statement before the else statement. It should look like the following: [CODE] if(check){ // Do something. } else{ // Do … | |
Re: I'd be up for it come the new year. Any chance to make myself a better programmer. | |
Re: I game, (try to) make games, watch hockey, skateboard, and pretty much do too much other stuff which drastically reduces the time I have to do anything. I don't know if that made sense. | |
Re: The way I see your problem, it can be read in two ways. First, either you're not sure how to work with returned variables, or you're misunderstanding what return actually does. 1st understanding: You need to catch the return from exitFailure and do something with it. [CODE] inFile.open(inputFilename, ios::in); if … | |
Re: Why not just have all items inherit from an 'Item' base class and make a vector of Items? I.E., a helmet is a piece of armor, which is a piece of equipment, which is an item. A healing potion is a potion, which is an item. A +3 vorpal short … | |
Re: For the most part, I have a lot of respect for Mr. Torvalds for what he's done for FOSS and the OS and development worlds, but this post makes him seem nothing more than a kid who's throwing a temper tantrum because he didn't get his way. | |
Re: I think you'll have to reset the viewport on resize. Using the window's size in the viewport *should* give you the desired effect. | |
Re: Bitmaps can't use alpha blending. Bitmaps are a max of 24 bits, 8 per channel (RGB) where targas can be 24 bit RGB, or 32 bit RGBA (A for alpha). | |
Re: Since I don't have a way to test out your code right now, I can at least point out one possible issue, and I'm also assuming that by DrawSeed, you meant DrawLeaf. You never end your glBegin(GL_QUADS) statement in your DrawLeaf function. That may cause potential problems if you're trying … | |
Re: For C++, I'm finding Professional C++ (Solter & Kleper) to be a pretty interesting read. I'm learning a decent amount about the language that I didn't learn in school. The Essentials of Computer Organization & Architecture (Null & Lobur) is pretty good. Design Patterns (Gamma, et al.) is an excellent … | |
Re: All functions that do not have a return type of 'void' must return a value. To return a value from a function, just do the following: [CODE] return variableName; [/CODE] where variableName is a variable type the same as the return type. This can also be a value, such as: … | |
Re: Let me see if I get your objective correct. You want an application that takes 3 int inputs, h, w and t and creates a "C" in *s where h is the total height, w is the width for the top & bottom parts and t is the thickness which … | |
Re: It's gotta be Monty Python & the Holy Grail. I love those Brits, and Gilliam too. | |
Re: I'll be somewhere in the Caribbean. 12 night cruise honeymoon. Can't wait. | |
Re: I started off with C++ Primer Plus and a data structures book (I'll post which later). They seemed to help fairly well. I'm now reading Professional C++ from Wrox, which is nice as it goes a bit deeper into the language and is helping me solidify some of the lesser … | |
Re: There are a few issues in here that could cause your output to be incorrect. First, your keystroke input is generally going to be a lowercase letter, but your data file only uses capital letters. You'll have to error check the input and make the character an uppercase letter. The … | |
Greetings, everyone. My name's Travis and I'm primarily a game developer focusing on C++, with a little experience in C#, Java, ASP, .NET, PowerShell, and a few other languages that I don't particularly ever want to use again. I joined up here at DaniWeb to use some of my knowledge … | |
Re: [QUOTE=cproud21;1042831]I have the following code that tests a string to see if it is a palindrome. The only error I am getting is when I try to pass each character to the queue and stack. Is there another way to pass it to each? [CODE]//Implement the palindrome-recognition algotithm described in … | |
Re: The problem is the setting of strSoFar to whatever EnumAll returns and changing what the previous function needs to have in that variable. Not setting strSoFar in your for loop gives you this effect: Initial function call: strSoFar = "" 1st recurse: strSoFar = "T" 2nd recurse: strSoFar = "TC" … |
The End.