Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
62% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #2K
~4K People Reached
Favorite Forums
Favorite Tags
c++ x 34

18 Posted Topics

Member Avatar for MTW1989
Member Avatar for pcandtech
0
146
Member Avatar for HealBrains

Hey guys, I have a quick question: When I call [INLINECODE]DWORD dw = pMesh->GetFVF();[/INLINECODE], how do I determine what flags the DWORD represents? For example, if I call that function and [INLINECODE]dw == 18[/INLINECODE], how do I determine which FVF values the '18' represents? Thanks for your time! EDIT: I …

0
77
Member Avatar for DrewDodson89

Can't you just concatenate the desired name string and the date string?

Member Avatar for DrewDodson89
0
228
Member Avatar for daviddoria

[url]http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/cplr061.htm[/url] Check that out, it should be handy.

Member Avatar for HealBrains
0
174
Member Avatar for soapyillusion
Member Avatar for tnclark8012

Think about the order of your code. Think about what your program knows before it tries to use something. If your program begins and it hasn't been told there is a class called "Piece", then how can it add that class to a vector?

Member Avatar for tnclark8012
0
171
Member Avatar for tetron

Just my two cents, but I wouldn't just accept that it was Visual Studios fault unless you're 100% sure. Errors, in my experience, don't usually just [I]disappear[/I].

Member Avatar for HealBrains
0
116
Member Avatar for khaled.s

You should look at [url]http://www.daniweb.com/forums/thread264097.html[/url]. You have the same problems as that guy. Also, line 8 has an error.

Member Avatar for WaltP
0
215
Member Avatar for yznk

Wouldn't you just put the program into a loop that executes 100 times and counts the number of moves it makes in each iteration, stores those numbers in an array (one number stored each time the iteration completes) and divide the sum of all of the contents of the array …

Member Avatar for HealBrains
0
182
Member Avatar for noyfb

[QUOTE][CODE]for(int i=0; i < Range; ++i); } { double time_sum = 0.0; double time_average = 0.0; for (int m=1 ; m <= NumberOfCases; ++m); } { cout << "for m=" << m << " K=" << K << endl; }[/CODE] [/QUOTE] This is incorrect. It won't be hard to fix …

Member Avatar for noyfb
0
122
Member Avatar for JHus00

It looks like you're using an uninitialised variable... You never use the float 'windchill' until you add 0.5 to it. So basically you're adding 0.5 to some random number.

Member Avatar for HealBrains
0
112
Member Avatar for HealBrains

Hey all, I'm trying to do some ray intersection detection but I'm having some problems. My app starts by loading a cube object into a .x file. I have a player class and a target class that both use the same model, but each has it's own world matrix. [CODE]D3DXMATRIX …

Member Avatar for HealBrains
0
209
Member Avatar for faaz

I think lines 40 and 42 are incorrect. You are using an assignment operator (=) instead of a comparison operator (==), unless you're trying to get it to do something I'm not seeing. Also, I think lines 24 to 31 should be inside the do...while(continuePlay == true) loop. That would …

Member Avatar for faaz
0
175
Member Avatar for mybluehair

This should help: [url]http://www.tek-tips.com/viewthread.cfm?qid=1372208&page=17[/url] I can't remember exactly how to declare an icon file in the resource file, but if you're using Visual Studio I [i]THINK[/i] you can right click on the .rc file in the solution explorer and add resource (your icon).

Member Avatar for HealBrains
0
98
Member Avatar for Robyy14

[QUOTE=Robyy14;1140705]Bla bla bla[/QUOTE] Where do you people come from? I'm honestly curious. There are so many people with horrible grammar and atrocious attitudes floating around the various coding sites that demand code from people.

Member Avatar for dusktreader
0
147
Member Avatar for riotburn

So you're saying your maths is all working a-ok, but when it comes to printing the string it's printing garbage? What is an example of the output you're getting from 'xnew'?

Member Avatar for riotburn
0
1K
Member Avatar for soapyillusion

Add another choice to menu() that lets the user exit the program, and place the whole function into an appropriate loop. The loop should check to see that the 'exit' choice has/hasn't been selected.

Member Avatar for soapyillusion
0
290
Member Avatar for bryanpognant

Where's your code? Edit: I'd start by getting the numbers (hint: cin) and adding them to an array of 5 integers. For the highest and lowest number funcitons I'd use a loop that loops 5 times checking the current number in the array against the current highest/lowest, storing the higher/lower …

Member Avatar for WargRider
0
169

The End.