Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: cofused! what's wrong with the code? Pin
Plamen Petrov1-Jun-05 21:06
professionalPlamen Petrov1-Jun-05 21:06 
GeneralRe: cofused! what's wrong with the code? Pin
qqworm1-Jun-05 21:27
qqworm1-Jun-05 21:27 
GeneralRe: cofused! what's wrong with the code? Pin
Plamen Petrov1-Jun-05 22:08
professionalPlamen Petrov1-Jun-05 22:08 
GeneralRe: cofused! what's wrong with the code? Pin
qqworm1-Jun-05 23:06
qqworm1-Jun-05 23:06 
AnswerRe: cofused! what's wrong with the code? Pin
David Crow2-Jun-05 2:27
David Crow2-Jun-05 2:27 
GeneralRe: cofused! what's wrong with the code? Pin
qqworm2-Jun-05 4:52
qqworm2-Jun-05 4:52 
GeneralCalculating an angle of a line Pin
NeverFall1-Jun-05 20:11
NeverFall1-Jun-05 20:11 
GeneralRe: Calculating an angle of a line(modified) Pin
namaskaaram1-Jun-05 20:46
namaskaaram1-Jun-05 20:46 
yes TWO POINTS (x1,y1) & (x2,y2)(it is a line,so it should have two cordinate points!).....
consider.....

//              |
//              |
//      •(x1,y1)|
//              |
//              |
//    - - - - - - - - - - - 
//              |
//              |     •(x2,y2)
//              |
//              |
//              |




then slope can be said to be : m =(y2-y1)/(x2-x1)

then find the arctan of the slope 'm' ,u get the angle

try googling....to find more info....try this link :http://www.purplemath.com/modules/slope.htm[^]

cheerz.....Big Grin | :-D



"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
GeneralRe: Calculating an angle of a line(modified) Pin
NeverFall1-Jun-05 21:55
NeverFall1-Jun-05 21:55 
GeneralRe: Calculating an angle of a line(modified) Pin
namaskaaram1-Jun-05 23:06
namaskaaram1-Jun-05 23:06 
GeneralRe: Calculating an angle of a line Pin
super1-Jun-05 20:47
professionalsuper1-Jun-05 20:47 
GeneralRe: Calculating an angle of a line Pin
NeverFall1-Jun-05 22:11
NeverFall1-Jun-05 22:11 
GeneralCGdiObject::CreateStockObject Pin
Stlan1-Jun-05 19:26
Stlan1-Jun-05 19:26 
GeneralRe: CGdiObject::CreateStockObject Pin
super1-Jun-05 20:50
professionalsuper1-Jun-05 20:50 
GeneralRe: CGdiObject::CreateStockObject Pin
HumanOsc1-Jun-05 21:38
HumanOsc1-Jun-05 21:38 
GeneralRe: CGdiObject::CreateStockObject Pin
super1-Jun-05 21:46
professionalsuper1-Jun-05 21:46 
GeneralRe: CGdiObject::CreateStockObject Pin
Stlan1-Jun-05 22:09
Stlan1-Jun-05 22:09 
QuestionHow Can I add Random Mode? Pin
Keitaro211-Jun-05 19:06
Keitaro211-Jun-05 19:06 
AnswerRe: How Can I add Random Mode? Pin
Cedric Moonen1-Jun-05 21:17
Cedric Moonen1-Jun-05 21:17 
GeneralRe: How Can I add Random Mode? Pin
recoup_this2-Jun-05 2:24
recoup_this2-Jun-05 2:24 
Questionis it possible to know which disc inserted to dvd-r drive? Pin
baboguru1-Jun-05 18:59
baboguru1-Jun-05 18:59 
AnswerRe: is it possible to know which disc inserted to dvd-r drive? Pin
kakan2-Jun-05 3:24
professionalkakan2-Jun-05 3:24 
GeneralCOM Exe Link error Pin
VCSharp0071-Jun-05 18:07
VCSharp0071-Jun-05 18:07 
GeneralRe: COM Exe Link error Pin
Christian Graus1-Jun-05 18:16
protectorChristian Graus1-Jun-05 18:16 
GeneralRe: COM Exe Link error Pin
VCSharp0071-Jun-05 21:00
VCSharp0071-Jun-05 21:00 

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.