Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI have one Pin
sweep1235-Feb-04 6:32
sweep1235-Feb-04 6:32 
GeneralRe: I have one Pin
David Crow5-Feb-04 9:39
David Crow5-Feb-04 9:39 
GeneralRe: I have one Pin
sweep1236-Feb-04 1:14
sweep1236-Feb-04 1:14 
Generallinking error Pin
Goh Hui Beng5-Feb-04 6:06
Goh Hui Beng5-Feb-04 6:06 
GeneralRe: linking error Pin
Michael P Butler5-Feb-04 7:14
Michael P Butler5-Feb-04 7:14 
GeneralRe: linking error Pin
Anonymous5-Feb-04 14:17
Anonymous5-Feb-04 14:17 
Generalhelp with setpercision Pin
snowedin5-Feb-04 5:59
snowedin5-Feb-04 5:59 
GeneralRe: help with setpercision Pin
Robert A. T. Káldy7-Feb-04 22:29
Robert A. T. Káldy7-Feb-04 22:29 
setprecision sets the count of valid numbers, not the count of numbers after the point. So when you write for example 144.39, the output would be 140.
The best solution is to store the currency in a class
class currency
{
     int dollars, cents;
}

and define the operators +,-,*,/,<<,>> etc. there.

Robert-Antonio

"Love without sex is like a fish without antlers"

GeneralRe: CWnd::GetDlgCtrlID() Pin
фил5-Feb-04 5:04
фил5-Feb-04 5:04 
GeneralDisplaying Bitmap Image in VC6 MFC Pin
fjayf5-Feb-04 4:59
fjayf5-Feb-04 4:59 
GeneralRe: Displaying Bitmap Image in VC6 MFC Pin
PJ Arends5-Feb-04 9:38
professionalPJ Arends5-Feb-04 9:38 
GeneralMacro to initialize GDI+ in VC6.0 MFC projects Pin
vimalk5-Feb-04 4:43
vimalk5-Feb-04 4:43 
GeneralRe: Macro to initialize GDI+ in VC6.0 MFC projects Pin
PJ Arends5-Feb-04 9:22
professionalPJ Arends5-Feb-04 9:22 
GeneralMenus in a CPropertySheet (^_^!!) Pin
solostar***5-Feb-04 4:25
solostar***5-Feb-04 4:25 
QuestionHandle right-click on listview column? Pin
Dominik Reichl5-Feb-04 4:06
Dominik Reichl5-Feb-04 4:06 
AnswerRe: Handle right-click on listview column? Pin
BadJerry5-Feb-04 4:27
BadJerry5-Feb-04 4:27 
GeneralRe: Handle right-click on listview column? Pin
Dominik Reichl5-Feb-04 4:39
Dominik Reichl5-Feb-04 4:39 
GeneralRe: Handle right-click on listview column? Pin
Dominik Reichl5-Feb-04 4:42
Dominik Reichl5-Feb-04 4:42 
GeneralRe: Handle right-click on listview column? Pin
BadJerry5-Feb-04 4:45
BadJerry5-Feb-04 4:45 
AnswerRe: Handle right-click on listview column? Pin
Anonymous5-Feb-04 9:55
Anonymous5-Feb-04 9:55 
GeneralCTRL+F1 message to window Pin
impeham5-Feb-04 4:03
impeham5-Feb-04 4:03 
GeneralRe: CTRL+F1 message to window Pin
Ravi Bhavnani5-Feb-04 6:08
professionalRavi Bhavnani5-Feb-04 6:08 
GeneralRe: CTRL+F1 message to window Pin
impeham8-Feb-04 6:09
impeham8-Feb-04 6:09 
GeneralRe: CTRL+F1 message to window Pin
Ravi Bhavnani8-Feb-04 6:20
professionalRavi Bhavnani8-Feb-04 6:20 
GeneralGlobal pointer Pin
krugger5-Feb-04 4:02
krugger5-Feb-04 4:02 

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.