Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Load an image dynamically in win32 using VC++ PinmemberMax_Power_Up26-Feb-13 5:10 
QuestionWhy does so many companies use directUI to show GUI ? Pingroupyu-jian20-Feb-13 15:09 
QuestionCFileDialog in Dll Project PinmemberLeeUnSong20-Feb-13 14:38 
AnswerRe: CFileDialog in Dll Project PinmvpRichard MacCutchan20-Feb-13 21:10 
GeneralRe: CFileDialog in Dll Project PinmemberLeeUnSong21-Feb-13 0:31 
GeneralRe: CFileDialog in Dll Project PinmvpRichard MacCutchan21-Feb-13 1:16 
QuestionFormatting Output [modified] PinmemberSarah Trattner20-Feb-13 12:02 
AnswerRe: Formatting Output PinmemberGarth J Lancaster20-Feb-13 12:33 
ok, we understand the pain ...but what have you tried so far Sarah ?
 
We try not to do people's homework by just giving them an answer - copying and pasting isnt going to help you learn, is it ?
 
So, Im going to give you the start of the answer ...
 
cout << setprecision(x) << fourth << endl; 
 
Why dont you type it in, (note, you need to replace the (x) in setprecision with a number - think carefully, or just try multiple output statements), compile and run it ..
 
Its probably bad form to have the 'using namespace' clause below, but for testing something quick, Im going to close my eyes and just do it the simple way, so, you'll also need
 
#include <iostream>
#include <iomanip>
using namespace std;
 
at the top of your program.
 
try it ...
GeneralRe: Formatting Output PinmemberSarah Trattner20-Feb-13 13:00 
GeneralRe: Formatting Output PinmemberGarth J Lancaster20-Feb-13 13:26 
GeneralRe: Formatting Output PinmemberGarth J Lancaster20-Feb-13 13:37 
QuestionBOM Code PinmvpMichael Haephrati מיכאל האפרתי20-Feb-13 10:41 
SuggestionRe: BOM Code PinmemberDavidCrow20-Feb-13 10:47 
GeneralRe: BOM Code PinmvpMichael Haephrati מיכאל האפרתי20-Feb-13 10:49 
QuestionOn displaying two images second image overlapps first image Pinmembertoms from newdelhi20-Feb-13 0:32 
AnswerRe: On displaying two images second image overlapps first image PinmvpRichard MacCutchan20-Feb-13 2:40 
AnswerRe: On displaying two images second image overlapps first image PinmvpMichael Haephrati מיכאל האפרתי20-Feb-13 10:15 
QuestionCFileDialog with preview working in Xp but not in Win7 Pinmemberyogeshs19-Feb-13 18:50 
AnswerRe: CFileDialog with preview working in Xp but not in Win7 PinmvpRichard MacCutchan19-Feb-13 22:10 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pinmemberyogeshs19-Feb-13 22:46 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 PinmvpRichard MacCutchan19-Feb-13 23:01 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 Pinmemberyogeshs20-Feb-13 18:46 
GeneralRe: CFileDialog with preview working in Xp but not in Win7 PinmvpRichard MacCutchan20-Feb-13 21:06 
QuestionProblem Reading/Writing Registry in Windows 7? PinmemberMember 919975419-Feb-13 9:40 
AnswerRe: Problem Reading/Writing Registry in Windows 7? PinmemberDavidCrow19-Feb-13 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 11 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid