189 Posted Topics

Member Avatar for BestJewSinceJC

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 …

Member Avatar for BestJewSinceJC
0
154
Member Avatar for DaveTran

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, …

Member Avatar for Geekitygeek
0
133
Member Avatar for corby
Member Avatar for amalashibu

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 …

Member Avatar for amitshrivas
0
175
Member Avatar for user1980

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 …

Member Avatar for user1980
0
188
Member Avatar for thuyson
Member Avatar for Sodabread
0
89
Member Avatar for D4n1sD

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 …

Member Avatar for Sodabread
0
142
Member Avatar for rahul8590

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 …

Member Avatar for vaultdweller123
-1
230
Member Avatar for ShadowScripter

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.

Member Avatar for ShadowScripter
0
141
Member Avatar for ArtphotoasiA

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 …

Member Avatar for vaultdweller123
-1
146
Member Avatar for King Dede

I prefer Microsoft Visual Studio, but I think that may be because it's what I learned on.

Member Avatar for Stefano Mtangoo
0
325
Member Avatar for Ancient Dragon

[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 …

Member Avatar for WaltP
1
325
Member Avatar for sisse56

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.

Member Avatar for WaltP
-2
130
Member Avatar for mrnutty

When your definition of a party is 100+ people in a fire hall playing Counter Strike and Warcraft 3.

Member Avatar for mrnutty
1
329
Member Avatar for Sodabread

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 …

Member Avatar for Seten
1
209
Member Avatar for Joehype

[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 …

Member Avatar for mrnutty
0
176
Member Avatar for ithelp

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 …

Member Avatar for Sodabread
0
130
Member Avatar for jefanot

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 …

Member Avatar for muzamal
0
1K
Member Avatar for mrnutty

I'd be up for it come the new year. Any chance to make myself a better programmer.

Member Avatar for cwarn23
1
283
Member Avatar for mrnutty

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.

Member Avatar for ddanbe
1
309
Member Avatar for rsaska

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 …

Member Avatar for Sodabread
0
156
Member Avatar for Japus

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 …

Member Avatar for Japus
0
717
Member Avatar for mrnutty

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.

Member Avatar for ddanbe
0
247
Member Avatar for MattyRobot

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.

Member Avatar for Sodabread
0
308
Member Avatar for zobadof
Member Avatar for MattyRobot

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).

Member Avatar for Sodabread
0
356
Member Avatar for NotThereAnymore

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 …

Member Avatar for NotThereAnymore
0
8K
Member Avatar for Stefano Mtangoo
Member Avatar for Voulnet

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 …

Member Avatar for Voulnet
2
197
Member Avatar for lllllIllIlllI
Member Avatar for Kenny_Zhou
0
82
Member Avatar for guccitan88

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: …

Member Avatar for guccitan88
0
167
Member Avatar for norbert90

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 …

Member Avatar for Sodabread
-1
73
Member Avatar for characteredu

It's gotta be Monty Python & the Holy Grail. I love those Brits, and Gilliam too.

Member Avatar for pritaeas
0
183
Member Avatar for AndreRet
Member Avatar for Sodabread
0
139
Member Avatar for abhisheksingh11

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 …

Member Avatar for Sodabread
0
104
Member Avatar for scott6480

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 …

Member Avatar for pecet
1
143
Member Avatar for Sodabread

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 …

1
65
Member Avatar for cproud21

[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 …

Member Avatar for BeyondTheEye
0
122
Member Avatar for gundalav

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" …

Member Avatar for Sodabread
0
205

The End.