Click here to Skip to main content
15,905,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS 2008 Team Edition and the object dump. Pin
Mark Salsbery6-Oct-08 11:31
Mark Salsbery6-Oct-08 11:31 
AnswerRe: VS 2008 Team Edition and the object dump. Pin
Saurabh.Garg6-Oct-08 16:00
Saurabh.Garg6-Oct-08 16:00 
GeneralRe: VS 2008 Team Edition and the object dump. Pin
Like2Byte7-Oct-08 4:04
Like2Byte7-Oct-08 4:04 
AnswerRe: VS 2008 Team Edition and the object dump. Pin
Hamid_RT7-Oct-08 5:05
Hamid_RT7-Oct-08 5:05 
Questiontan() - gives incorrect result Pin
simon alec smith6-Oct-08 10:48
simon alec smith6-Oct-08 10:48 
QuestionRe: tan() - gives incorrect result Pin
CPallini6-Oct-08 11:04
mveCPallini6-Oct-08 11:04 
AnswerRe: tan() - gives incorrect result Pin
simon alec smith6-Oct-08 11:41
simon alec smith6-Oct-08 11:41 
GeneralRe: tan() - gives incorrect result Pin
Kentamanos6-Oct-08 12:51
Kentamanos6-Oct-08 12:51 
Having a hard time following the logic on your math. You're multiplying the tangent by 12, which appears to be the length of the hypotenuse since you using it later in what looks like the Pythagorean theorem. Since tangent has no relation to the hypotenuse, I'm not sure why you're doing that. (tangent = opposite / adjacent).

I'm not sure what you're trying to do, but if it's drawing "spokes" (like a wagon wheel) from the origin to various angles, then why wouldn't you just use something like:

x = length * cos(currentAngle)
y = length * sin(currentAngle)

And sweep thru the angles you want to cover?



I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.

-David St. Hubbins


QuestionComparing images in MFC Pin
kaushal kishore sharma6-Oct-08 9:43
kaushal kishore sharma6-Oct-08 9:43 
AnswerRe: Comparing images in MFC Pin
led mike6-Oct-08 10:05
led mike6-Oct-08 10:05 
GeneralRe: Comparing images in MFC Pin
Mark Salsbery6-Oct-08 10:37
Mark Salsbery6-Oct-08 10:37 
RantRe: Comparing images in MFC Pin
PravinSingh6-Oct-08 21:40
PravinSingh6-Oct-08 21:40 
Questionsetwindowtext and integers Pin
Sarriss6-Oct-08 9:24
Sarriss6-Oct-08 9:24 
AnswerRe: setwindowtext and integers Pin
CPallini6-Oct-08 9:45
mveCPallini6-Oct-08 9:45 
GeneralRe: setwindowtext and integers Pin
Sarriss6-Oct-08 11:35
Sarriss6-Oct-08 11:35 
GeneralRe: setwindowtext and integers Pin
Adam Maras6-Oct-08 14:14
Adam Maras6-Oct-08 14:14 
GeneralRe: setwindowtext and integers Pin
Sarriss7-Oct-08 1:25
Sarriss7-Oct-08 1:25 
GeneralRe: setwindowtext and integers Pin
Hamid_RT7-Oct-08 5:03
Hamid_RT7-Oct-08 5:03 
GeneralRe: setwindowtext and integers Pin
Adam Maras7-Oct-08 9:11
Adam Maras7-Oct-08 9:11 
GeneralRe: setwindowtext and integers Pin
David Crow7-Oct-08 3:33
David Crow7-Oct-08 3:33 
GeneralRe: setwindowtext and integers Pin
CPallini7-Oct-08 22:50
mveCPallini7-Oct-08 22:50 
QuestionAccessing variables in one class from another Pin
jon_fallon6-Oct-08 8:00
jon_fallon6-Oct-08 8:00 
AnswerRe: Accessing variables in one class from another Pin
David Crow6-Oct-08 8:49
David Crow6-Oct-08 8:49 
AnswerRe: Accessing variables in one class from another Pin
CPallini6-Oct-08 9:48
mveCPallini6-Oct-08 9:48 
QuestionComparing bitmap problem Pin
kaushal kishore sharma6-Oct-08 7:15
kaushal kishore sharma6-Oct-08 7:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.