Click here to Skip to main content
14,772,707 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 3:02
MemberVictor Nijegorodov17-Oct-18 3:02 
GeneralRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 21:04
Memberjung-kreidler17-Oct-18 21:04 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 21:46
MemberVictor Nijegorodov17-Oct-18 21:46 
GeneralRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 21:49
Memberjung-kreidler17-Oct-18 21:49 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov17-Oct-18 22:07
MemberVictor Nijegorodov17-Oct-18 22:07 
AnswerRe: Geolocation or how to find the country were my app is started Pin
jung-kreidler17-Oct-18 22:22
Memberjung-kreidler17-Oct-18 22:22 
GeneralRe: Geolocation or how to find the country were my app is started Pin
Victor Nijegorodov18-Oct-18 0:51
MemberVictor Nijegorodov18-Oct-18 0:51 
QuestionCalculating decimal places - Pin
ptr_Electron16-Oct-18 2:56
Memberptr_Electron16-Oct-18 2:56 
Hi
Below code does some memory corruption due to which access violation happens at sub subsequent steps
If I remove this block of code every thing is working fine. Unable to figure out the issue in the below code. Please help

while ((int)tax % 10 != 0)
{
   tax *= 10;
   decimals++;
}

decimalpoints = decimals-1  

AnswerRe: Calculating decimal places - Pin
Richard MacCutchan16-Oct-18 3:05
mveRichard MacCutchan16-Oct-18 3:05 
AnswerRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:26
Memberptr_Electron16-Oct-18 3:26 
GeneralRe: Calculating decimal places - Pin
Richard MacCutchan16-Oct-18 4:40
mveRichard MacCutchan16-Oct-18 4:40 
SuggestionRe: Calculating decimal places - Pin
David Crow16-Oct-18 3:47
MemberDavid Crow16-Oct-18 3:47 
GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:52
Memberptr_Electron16-Oct-18 3:52 
GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 4:03
Memberptr_Electron16-Oct-18 4:03 
GeneralRe: Calculating decimal places - Pin
David Crow16-Oct-18 4:06
MemberDavid Crow16-Oct-18 4:06 
GeneralRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 4:14
Memberptr_Electron16-Oct-18 4:14 
QuestionRe: Calculating decimal places - Pin
David Crow16-Oct-18 4:20
MemberDavid Crow16-Oct-18 4:20 
AnswerRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 4:29
Memberptr_Electron16-Oct-18 4:29 
GeneralRe: Calculating decimal places - Pin
David Crow16-Oct-18 4:38
MemberDavid Crow16-Oct-18 4:38 
GeneralRe: Calculating decimal places - Pin
leon de boer16-Oct-18 16:28
Memberleon de boer16-Oct-18 16:28 
QuestionRe: Calculating decimal places - Pin
CPallini16-Oct-18 3:48
mveCPallini16-Oct-18 3:48 
AnswerRe: Calculating decimal places - Pin
ptr_Electron16-Oct-18 3:55
Memberptr_Electron16-Oct-18 3:55 
GeneralRe: Calculating decimal places - Pin
CPallini16-Oct-18 4:11
mveCPallini16-Oct-18 4:11 
QuestionUsing assignment operator = for a class with const memeber variables? Pin
Member 140109547-Oct-18 13:52
MemberMember 140109547-Oct-18 13:52 
AnswerRe: Using assignment operator = for a class with const memeber variables? Pin
CPallini7-Oct-18 21:36
mveCPallini7-Oct-18 21:36 

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.