Click here to Skip to main content
15,919,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalabout clipboard Pin
rcw7526-Sep-03 2:34
rcw7526-Sep-03 2:34 
GeneralRe: about clipboard Pin
David Crow26-Sep-03 2:54
David Crow26-Sep-03 2:54 
GeneralArray Pin
sardinka26-Sep-03 2:34
sardinka26-Sep-03 2:34 
GeneralRe: Array Pin
Adam Gritt26-Sep-03 2:46
Adam Gritt26-Sep-03 2:46 
GeneralRe: Array Pin
sardinka26-Sep-03 3:00
sardinka26-Sep-03 3:00 
GeneralRe: Array Pin
Adam Gritt26-Sep-03 3:20
Adam Gritt26-Sep-03 3:20 
GeneralRe: Array Pin
sardinka26-Sep-03 3:35
sardinka26-Sep-03 3:35 
GeneralRe: Array Pin
Adam Gritt26-Sep-03 3:48
Adam Gritt26-Sep-03 3:48 
Also don't forget to predefine the function unless you put the fuction code before main.

displayArray( volumes, count);


// First the Function declaration is incorrect.
// you have a semicolon where there should be a comma
// and you have volumes declared as int when it should be
// double but that was covered previously
// also you don't need NUM as a variable because it is a
// program constant. Instead pass Count

//void displayArray( const int volumes[NUM]; const int NUM)
void displayArray( const double volumes[NUM], const int Count)
{
cout<<"\n";
int nCount=0;

while ( nCount < Count)
{
cout<< volumes[nCount] << " ";
nCount++;
}

int nPause;
cin >> nPause;
}
GeneralRe: Array Pin
sardinka26-Sep-03 3:53
sardinka26-Sep-03 3:53 
QuestionHow to dump debug information to VC 6.0's debug window in a MFC project? Pin
George226-Sep-03 2:04
George226-Sep-03 2:04 
AnswerRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
Adam Gritt26-Sep-03 2:48
Adam Gritt26-Sep-03 2:48 
GeneralRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
George226-Sep-03 3:08
George226-Sep-03 3:08 
AnswerRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
David Crow26-Sep-03 2:57
David Crow26-Sep-03 2:57 
GeneralRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
George226-Sep-03 3:09
George226-Sep-03 3:09 
GeneralRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
Adam Gritt26-Sep-03 3:25
Adam Gritt26-Sep-03 3:25 
GeneralRe: How to dump debug information to VC 6.0's debug window in a MFC project? Pin
George226-Sep-03 3:40
George226-Sep-03 3:40 
GeneralVC++ / VB CreateObject Function Pin
Carlos Mariano26-Sep-03 1:54
Carlos Mariano26-Sep-03 1:54 
Generalchange ip adress via visual c++ Pin
User 21595626-Sep-03 1:31
User 21595626-Sep-03 1:31 
GeneralRe: change ip adress via visual c++ Pin
igor196026-Sep-03 7:47
igor196026-Sep-03 7:47 
GeneralDirect draw and Multimon problem Pin
Member 91916026-Sep-03 1:30
Member 91916026-Sep-03 1:30 
GeneralResolution problem with my MFC - programms under Windows 2000 Pin
postamt26-Sep-03 1:11
postamt26-Sep-03 1:11 
GeneralKill a Process Pin
cberam26-Sep-03 1:04
cberam26-Sep-03 1:04 
GeneralRe: Kill a Process Pin
David Crow26-Sep-03 3:00
David Crow26-Sep-03 3:00 
GeneralCreating a CWnd with a dialog resource Pin
Antti Keskinen26-Sep-03 0:52
Antti Keskinen26-Sep-03 0:52 
GeneralRe: Creating a CWnd with a dialog resource Pin
KarstenK26-Sep-03 1:33
mveKarstenK26-Sep-03 1:33 

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.