Click here to Skip to main content
16,018,460 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGlobal hook Pin
tigger_am23-Feb-07 1:47
tigger_am23-Feb-07 1:47 
AnswerRe: Global hook Pin
PJ Arends23-Feb-07 10:05
professionalPJ Arends23-Feb-07 10:05 
Questionabout linking obj files Pin
sawerr23-Feb-07 0:52
sawerr23-Feb-07 0:52 
AnswerRe: about linking obj files Pin
toxcct23-Feb-07 0:56
toxcct23-Feb-07 0:56 
AnswerRe: about linking obj files Pin
Cedric Moonen23-Feb-07 0:57
Cedric Moonen23-Feb-07 0:57 
AnswerRe: about linking obj files Pin
Newbie0023-Feb-07 1:09
Newbie0023-Feb-07 1:09 
QuestionCReBar border question. Pin
PatrykDabrowski23-Feb-07 0:28
PatrykDabrowski23-Feb-07 0:28 
QuestionTrying to pass an array Pin
ericelysia22-Feb-07 23:57
ericelysia22-Feb-07 23:57 
I am having some difficulty passing an array. If someone can shed some light here, I would appreciate it greatly.

void testFunction(int, int, bool, int, int, int [ ], char); //function prototype<br />
<br />
void testProgram()<br />
{<br />
	//-------------Test Case 1<br />
	//int num1 = 499;<br />
	//const int arraySize1 = 9;<br />
	int testCaseArray1[ 9 ] = { 500, 250, 375, 438, 469, 485, 493, 497, 499 };<br />
	char choice1 = 'Y';<br />
	<br />
	testFunction(0, 0, false, 499, 9, testCaseArray1, 'Y');<br />
	//testFunction(0, 0, false, 499, arraySize1, testCaseArray1, 'Y');<br />
}<br />
<br />
void testFunction(int myGuess1, int myGuessCount1, bool myBool, int myInt1, int myInt2, int myArray[ ], char myChar='Y')<br />
{<br />
	int num1 = myInt1;<br />
	int arraySize1 = myInt2;<br />
	int guess1 = myGuess1;<br />
	int testCaseArray1[ arraySize1 ]; //assign myArray[ ] to testCaseArray1[ ]<br />
	int guessCount1 = 0;<br />
	char choice1 = myChar;<br />
	bool correctAnswer1 = myBool;

AnswerRe: Trying to pass an array Pin
Cedric Moonen23-Feb-07 0:47
Cedric Moonen23-Feb-07 0:47 
AnswerRe: Trying to pass an array Pin
Newbie0023-Feb-07 0:59
Newbie0023-Feb-07 0:59 
QuestionVisual Studio Installer Error Pin
Mahesha_m22-Feb-07 23:42
Mahesha_m22-Feb-07 23:42 
QuestionVS2005 Pin
Anilkumar K V22-Feb-07 23:40
Anilkumar K V22-Feb-07 23:40 
AnswerRe: VS2005 Pin
Cedric Moonen22-Feb-07 23:51
Cedric Moonen22-Feb-07 23:51 
GeneralRe: VS2005 Pin
Anilkumar K V23-Feb-07 0:27
Anilkumar K V23-Feb-07 0:27 
GeneralRe: VS2005 Pin
Rajesh R Subramanian23-Feb-07 0:40
professionalRajesh R Subramanian23-Feb-07 0:40 
GeneralRe: VS2005 Pin
Cedric Moonen23-Feb-07 0:40
Cedric Moonen23-Feb-07 0:40 
GeneralRe: VS2005 Pin
toxcct23-Feb-07 0:52
toxcct23-Feb-07 0:52 
GeneralRe: VS2005 Pin
Rajesh R Subramanian23-Feb-07 3:11
professionalRajesh R Subramanian23-Feb-07 3:11 
GeneralRe: VS2005 Pin
toxcct24-Feb-07 0:52
toxcct24-Feb-07 0:52 
GeneralRe: VS2005 Pin
Nibu babu thomas23-Feb-07 3:25
Nibu babu thomas23-Feb-07 3:25 
AnswerRe: VS2005 Pin
Mark Salsbery23-Feb-07 8:45
Mark Salsbery23-Feb-07 8:45 
GeneralRe: VS2005 Pin
Hamid Taebi23-Feb-07 19:24
professionalHamid Taebi23-Feb-07 19:24 
QuestionWin32 Application for SetPrinterDataEx() Pin
Pankaj.Jain22-Feb-07 23:02
professionalPankaj.Jain22-Feb-07 23:02 
QuestionWindows Programming and Vista Pin
mehmetned22-Feb-07 22:59
mehmetned22-Feb-07 22:59 
AnswerRe: Windows Programming and Vista Pin
KarstenK23-Feb-07 2:05
mveKarstenK23-Feb-07 2:05 

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.