Click here to Skip to main content
15,914,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconst byte * to LPCSTR Pin
stevelam20-Aug-06 23:46
stevelam20-Aug-06 23:46 
AnswerRe: const byte * to LPCSTR Pin
toxcct20-Aug-06 23:49
toxcct20-Aug-06 23:49 
AnswerRe: const byte * to LPCSTR Pin
Hamid_RT21-Aug-06 0:25
Hamid_RT21-Aug-06 0:25 
GeneralRe: const byte * to LPCSTR Pin
stevelam21-Aug-06 0:40
stevelam21-Aug-06 0:40 
QuestionTo find radius of a circle Pin
dinesh_IP20-Aug-06 23:36
dinesh_IP20-Aug-06 23:36 
AnswerRe: To find radius of a circle Pin
toxcct20-Aug-06 23:47
toxcct20-Aug-06 23:47 
GeneralRe: To find radius of a circle Pin
dinesh_IP21-Aug-06 1:50
dinesh_IP21-Aug-06 1:50 
AnswerRe: To find radius of a circle Pin
Rage21-Aug-06 0:13
professionalRage21-Aug-06 0:13 
dinesh_IP wrote:
I am getting the periphery


Unlike tox, with that I understand that you have access to the points representing the circle on the screen. If you really have the periphery length, then have a look at his post.

If you have "captured" a set of points defining the circle, simply look for min and max coordinates in each direction (let's call them xmin,xmax,ymin and ymax), then :

radius = (xmax - xmin)/2 or = (ymax - ymin)/2 (both values should be the same).

center point of the circle is (xmin + radius, ymin +radius), for instance.



~RaGE();

I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

Questiongrid control application [modified] Pin
shibumong20-Aug-06 23:36
shibumong20-Aug-06 23:36 
AnswerRe: grid control application Pin
Cedric Moonen20-Aug-06 23:41
Cedric Moonen20-Aug-06 23:41 
AnswerRe: grid control application Pin
Hamid_RT21-Aug-06 0:23
Hamid_RT21-Aug-06 0:23 
QuestionCSocket Bind Invalid Argument Error Pin
masnu20-Aug-06 23:30
masnu20-Aug-06 23:30 
QuestionRe: CSocket Bind Invalid Argument Error Pin
Kiran Pinjala20-Aug-06 23:59
Kiran Pinjala20-Aug-06 23:59 
AnswerRe: CSocket Bind Invalid Argument Error Pin
masnu21-Aug-06 0:04
masnu21-Aug-06 0:04 
AnswerRe: CSocket Bind Invalid Argument Error Pin
Raj Prathap21-Aug-06 0:12
Raj Prathap21-Aug-06 0:12 
GeneralRe: CSocket Bind Invalid Argument Error Pin
masnu21-Aug-06 2:13
masnu21-Aug-06 2:13 
QuestionTo run application written in .Net VC++ 2005 Pin
Andy Rama20-Aug-06 23:03
Andy Rama20-Aug-06 23:03 
AnswerRe: To run application written in .Net VC++ 2005 Pin
Christian Graus20-Aug-06 23:25
protectorChristian Graus20-Aug-06 23:25 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Andy Rama21-Aug-06 0:27
Andy Rama21-Aug-06 0:27 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Christian Graus21-Aug-06 0:37
protectorChristian Graus21-Aug-06 0:37 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Andy Rama21-Aug-06 0:44
Andy Rama21-Aug-06 0:44 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Christian Graus21-Aug-06 0:46
protectorChristian Graus21-Aug-06 0:46 
GeneralRe: To run application written in .Net VC++ 2005 [modified] Pin
Andy Rama21-Aug-06 1:27
Andy Rama21-Aug-06 1:27 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Christian Graus21-Aug-06 1:39
protectorChristian Graus21-Aug-06 1:39 
GeneralRe: To run application written in .Net VC++ 2005 Pin
Andy Rama21-Aug-06 2:02
Andy Rama21-Aug-06 2:02 

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.