Click here to Skip to main content
15,900,511 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionUsing Managed objects in Unmanaged class Pin
Anu_Bala12-Oct-10 19:43
Anu_Bala12-Oct-10 19:43 
AnswerRe: Using Managed objects in Unmanaged class Pin
Nish Nishant13-Oct-10 9:30
sitebuilderNish Nishant13-Oct-10 9:30 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala13-Oct-10 17:45
Anu_Bala13-Oct-10 17:45 
GeneralRe: Using Managed objects in Unmanaged class Pin
Nish Nishant14-Oct-10 4:23
sitebuilderNish Nishant14-Oct-10 4:23 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala14-Oct-10 17:21
Anu_Bala14-Oct-10 17:21 
GeneralRe: Using Managed objects in Unmanaged class Pin
Anu_Bala14-Oct-10 18:06
Anu_Bala14-Oct-10 18:06 
QuestionConfusing questing Pin
mstanwar11-Oct-10 15:31
mstanwar11-Oct-10 15:31 
AnswerRe: Confusing questing Pin
Luc Pattyn11-Oct-10 15:44
sitebuilderLuc Pattyn11-Oct-10 15:44 
mstanwar wrote:
I know the float and double concept


do you really?

0.7 is a real number; it cannot be represented exactly as it is not equal to an integer times some power of 2.
therefore, it has an inherent inaccuracy.

furthermore, it is a double (real constants are double by default in C-like languages); assigning it to a float enlarges the inaccuracy, as there are fewer mantissa bits in a float than there are in a double.

a<0.7 is an expression that gets evaluated as doubles (see the language specification); so you are basically comparing the float representation and the double representation of the number 0.7, and those are both approximations, and unequal, and either one may be the larger one.

If you really knew about floats and doubles, you wouldn't carelessly mix them like that.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


Questionproperty of intellisense drop down. Pin
emmmatty110-Oct-10 5:38
emmmatty110-Oct-10 5:38 
AnswerRe: property of intellisense drop down. Pin
Nish Nishant11-Oct-10 6:34
sitebuilderNish Nishant11-Oct-10 6:34 
Questionhello question about Interprocess Communication how to call functions between 2 different process Pin
nah13379-Oct-10 2:11
nah13379-Oct-10 2:11 
AnswerRe: hello question about Interprocess Communication how to call functions between 2 different process Pin
Nish Nishant11-Oct-10 6:34
sitebuilderNish Nishant11-Oct-10 6:34 
QuestionOpen Source QRCode Library for C++ .NET or MFC Pin
loid grey manuel6-Oct-10 21:52
loid grey manuel6-Oct-10 21:52 
AnswerRe: Open Source QRCode Library for C++ .NET or MFC Pin
Nish Nishant7-Oct-10 8:15
sitebuilderNish Nishant7-Oct-10 8:15 
GeneralRe: Open Source QRCode Library for C++ .NET or MFC Pin
loid grey manuel7-Oct-10 19:17
loid grey manuel7-Oct-10 19:17 
GeneralRe: Open Source QRCode Library for C++ .NET or MFC Pin
novice5113-Feb-11 14:38
novice5113-Feb-11 14:38 
QuestionShow a dialog inside a third party application. Pin
emmmatty13-Oct-10 19:49
emmmatty13-Oct-10 19:49 
AnswerRe: Show a dialog inside a third party application. Pin
Nish Nishant5-Oct-10 5:04
sitebuilderNish Nishant5-Oct-10 5:04 
QuestionChange the colour of a selected cell on a C++ Datagrid view Pin
Ger Hayden3-Oct-10 3:54
Ger Hayden3-Oct-10 3:54 
AnswerRe: Change the colour of a selected cell on a C++ Datagrid view Pin
Nish Nishant5-Oct-10 5:02
sitebuilderNish Nishant5-Oct-10 5:02 
QuestionCLI/BOOL to bool conversion. Pin
Mike Doner28-Sep-10 5:34
Mike Doner28-Sep-10 5:34 
AnswerRe: CLI/BOOL to bool conversion. Pin
Nish Nishant28-Sep-10 6:35
sitebuilderNish Nishant28-Sep-10 6:35 
GeneralRe: CLI/BOOL to bool conversion. Pin
Mike Doner28-Sep-10 7:01
Mike Doner28-Sep-10 7:01 
QuestionProcessing mouse events in C# works - how do I do the same in managed C++? Pin
i_kant_spel26-Sep-10 16:09
i_kant_spel26-Sep-10 16:09 
AnswerRe: Processing mouse events in C# works - how do I do the same in managed C++? Pin
Nish Nishant27-Sep-10 11:47
sitebuilderNish Nishant27-Sep-10 11:47 

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.