Click here to Skip to main content
15,918,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Conversion.. Pin
Ted Ferenc25-Jun-03 21:48
Ted Ferenc25-Jun-03 21:48 
GeneralRe: Conversion.. Pin
Neha25-Jun-03 21:58
Neha25-Jun-03 21:58 
GeneralRe: Conversion.. Pin
peterchen25-Jun-03 22:11
peterchen25-Jun-03 22:11 
GeneralRe: Conversion.. Pin
Ted Ferenc26-Jun-03 0:38
Ted Ferenc26-Jun-03 0:38 
GeneralRe: Conversion.. Pin
peterchen26-Jun-03 9:11
peterchen26-Jun-03 9:11 
GeneralRe: Conversion.. Pin
Ryan Binns26-Jun-03 0:50
Ryan Binns26-Jun-03 0:50 
GeneralRe: Conversion.. Pin
Anonymous26-Jun-03 2:14
Anonymous26-Jun-03 2:14 
GeneralRe: Conversion.. Pin
Ryan Binns26-Jun-03 2:22
Ryan Binns26-Jun-03 2:22 
Anonymous wrote:
This won't work if x is negative.

Good point. Your solution won't work as written because 10 ^ nDecPlace is actually 10 XOR nDecPlace, not 10-to-the-power-of-nDecPlace. You'd have to use pow(10, nDecPlace). Other than that, your solution is good Smile | :)

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Conversion.. Pin
Anonymous26-Jun-03 6:10
Anonymous26-Jun-03 6:10 
GeneralRe: Conversion.. Pin
basementman26-Jun-03 6:42
basementman26-Jun-03 6:42 
GeneralI have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru25-Jun-03 20:37
kydfru25-Jun-03 20:37 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
Ryan Binns26-Jun-03 0:56
Ryan Binns26-Jun-03 0:56 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 1:27
kydfru26-Jun-03 1:27 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
Ryan Binns26-Jun-03 1:49
Ryan Binns26-Jun-03 1:49 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 1:52
wheregone26-Jun-03 1:52 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 2:26
kydfru26-Jun-03 2:26 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 5:27
wheregone26-Jun-03 5:27 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 7:28
kydfru26-Jun-03 7:28 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 14:22
wheregone26-Jun-03 14:22 
QuestionHow to determine whether a file is an executable by examining the file extension? Pin
dandy7725-Jun-03 20:28
dandy7725-Jun-03 20:28 
AnswerRe: How to determine whether a file is an executable by examining the file extension? Pin
Toni7825-Jun-03 21:56
Toni7825-Jun-03 21:56 
GeneralRe: How to determine whether a file is an executable by examining the file extension? Pin
dandy7725-Jun-03 22:20
dandy7725-Jun-03 22:20 
GeneralRe: How to determine whether a file is an executable by examining the file extension? Pin
Toni7826-Jun-03 21:23
Toni7826-Jun-03 21:23 
AnswerRe: How to determine whether a file is an executable by examining the file extension? Pin
Joaquín M López Muñoz25-Jun-03 23:14
Joaquín M López Muñoz25-Jun-03 23:14 
GeneralRasDial function Pin
no_body6925-Jun-03 19:35
no_body6925-Jun-03 19:35 

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.