Click here to Skip to main content
15,895,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Split paragraph into lines based on width in pixels Pin
leon de boer17-Oct-18 18:39
leon de boer17-Oct-18 18:39 
GeneralRe: Split paragraph into lines based on width in pixels Pin
Richard MacCutchan17-Oct-18 21:28
mveRichard MacCutchan17-Oct-18 21:28 
AnswerRe: Split paragraph into lines based on width in pixels Pin
Joe Woodbury18-Oct-18 13:11
professionalJoe Woodbury18-Oct-18 13:11 
Questionchange C code from persistent to none persistent in HTML Pin
Roozbeh Amiressami17-Oct-18 0:51
Roozbeh Amiressami17-Oct-18 0:51 
QuestionRe: change C code from persistent to none persistent in HTML Pin
Richard MacCutchan17-Oct-18 2:24
mveRichard MacCutchan17-Oct-18 2:24 
AnswerRe: change C code from persistent to none persistent in HTML Pin
leon de boer17-Oct-18 3:48
leon de boer17-Oct-18 3:48 
QuestionGeolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 0:13
jung-kreidler17-Oct-18 0:13 
AnswerRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 2:02
Victor Nijegorodov17-Oct-18 2:02 
GeneralRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 20:04
jung-kreidler17-Oct-18 20:04 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 20:46
Victor Nijegorodov17-Oct-18 20:46 
GeneralRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 20:49
jung-kreidler17-Oct-18 20:49 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 21:07
Victor Nijegorodov17-Oct-18 21:07 
AnswerRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 21:22
jung-kreidler17-Oct-18 21:22 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 23:51
Victor Nijegorodov17-Oct-18 23:51 
QuestionCalculating decimal places - Pin
ptr_Electron16-Oct-18 1:56
ptr_Electron16-Oct-18 1:56 
AnswerRe: Calculating decimal places - Pin
Richard MacCutchan16-Oct-18 2:05
mveRichard MacCutchan16-Oct-18 2:05 
AnswerRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 2:26
ptr_Electron16-Oct-18 2:26 
GeneralRe: Calculating decimal places - Pin
Richard MacCutchan16-Oct-18 3:40
mveRichard MacCutchan16-Oct-18 3:40 
SuggestionRe: Calculating decimal places - Pin
David Crow16-Oct-18 2:47
David Crow16-Oct-18 2:47 
This is not going to work as you might expect. For example, if tax has an initial value of 8.0, it may actually be stored in memory as 8.00000000001 or something similar.

What exactly are you trying to accomplish? A better solution may be just an explanation away.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 2:52
ptr_Electron16-Oct-18 2:52 
GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:03
ptr_Electron16-Oct-18 3:03 
GeneralRe: Calculating decimal places - Pin
David Crow16-Oct-18 3:06
David Crow16-Oct-18 3:06 
GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:14
ptr_Electron16-Oct-18 3:14 
QuestionRe: Calculating decimal places - Pin
David Crow16-Oct-18 3:20
David Crow16-Oct-18 3:20 
AnswerRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:29
ptr_Electron16-Oct-18 3:29 

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.