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

C / C++ / MFC

 
AnswerRe: Bringing a window to the top? Pin
Michael Dunn5-Sep-03 18:50
sitebuilderMichael Dunn5-Sep-03 18:50 
AnswerRe: Bringing a window to the top? Pin
Neville Franks5-Sep-03 23:26
Neville Franks5-Sep-03 23:26 
QuestionThe best way 2 skin an application? Pin
Roland19805-Sep-03 12:03
sussRoland19805-Sep-03 12:03 
AnswerRe: The best way 2 skin an application? Pin
Phil Speller5-Sep-03 12:50
Phil Speller5-Sep-03 12:50 
Questionhow to get the number of digits Pin
elmahdy5-Sep-03 11:50
elmahdy5-Sep-03 11:50 
AnswerRe: how to get the number of digits Pin
Shog95-Sep-03 12:26
sitebuilderShog95-Sep-03 12:26 
AnswerRe: how to get the number of digits Pin
David Crow5-Sep-03 15:00
David Crow5-Sep-03 15:00 
AnswerRe: how to get the number of digits Pin
Terry O'Nolley5-Sep-03 18:25
Terry O'Nolley5-Sep-03 18:25 
Where is the value of input coming from?

If you are getting it from the console, then use scanf with a string type specifier.
Get the length of that string
Start at the 0th char
Increment the index until you find the '.'
The number of decimal places is the string length - the current index (assuming you pre-increment)









AnswerRe: how to get the number of digits Pin
Ted Ferenc6-Sep-03 9:50
Ted Ferenc6-Sep-03 9:50 
GeneralArrays; Pin
Bo Hunter5-Sep-03 11:13
Bo Hunter5-Sep-03 11:13 
GeneralRe: Arrays; Pin
Michael Dunn5-Sep-03 13:53
sitebuilderMichael Dunn5-Sep-03 13:53 
GeneralRe: Arrays; Pin
Jörgen Sigvardsson6-Sep-03 11:37
Jörgen Sigvardsson6-Sep-03 11:37 
GeneralRe: Arrays; Pin
Nemanja Trifunovic6-Sep-03 17:51
Nemanja Trifunovic6-Sep-03 17:51 
Generalarugh arugh +arugh^1*10^4 Pin
(Steven Hicks)n+15-Sep-03 11:13
(Steven Hicks)n+15-Sep-03 11:13 
GeneralRe: arugh arugh +arugh^1*10^4 Pin
Michael Dunn5-Sep-03 13:54
sitebuilderMichael Dunn5-Sep-03 13:54 
Generalinterrupt handling in win2k Pin
Member 5562475-Sep-03 11:01
Member 5562475-Sep-03 11:01 
GeneralRe: interrupt handling in win2k Pin
Brad Sokol5-Sep-03 11:21
Brad Sokol5-Sep-03 11:21 
GeneralRe: interrupt handling in win2k Pin
Alexander M.,6-Sep-03 3:50
Alexander M.,6-Sep-03 3:50 
QuestionHow to create an empty folder in Visaul C++ Pin
nachilau5-Sep-03 10:07
nachilau5-Sep-03 10:07 
AnswerRe: How to create an empty folder in Visaul C++ Pin
David Crow5-Sep-03 10:44
David Crow5-Sep-03 10:44 
Questionlvm_sortitems with no MFC? Pin
Kayembi5-Sep-03 8:28
Kayembi5-Sep-03 8:28 
AnswerRe: lvm_sortitems with no MFC? Pin
David Crow5-Sep-03 8:55
David Crow5-Sep-03 8:55 
GeneralPrinting HTML pages Pin
jancsi5-Sep-03 8:07
jancsi5-Sep-03 8:07 
GeneralRe: Printing HTML pages Pin
Ravi Bhavnani5-Sep-03 12:39
professionalRavi Bhavnani5-Sep-03 12:39 
Generaltell CDocument not to save Pin
Jason Henderson5-Sep-03 7:01
Jason Henderson5-Sep-03 7:01 

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.