Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A General Problem Pin
Adam Roderick J29-Oct-09 18:21
Adam Roderick J29-Oct-09 18:21 
Questionpointer and switch Pin
kbury29-Oct-09 8:18
kbury29-Oct-09 8:18 
AnswerRe: pointer and switch Pin
«_Superman_»29-Oct-09 8:21
professional«_Superman_»29-Oct-09 8:21 
GeneralRe: pointer and switch Pin
kbury29-Oct-09 8:24
kbury29-Oct-09 8:24 
AnswerRe: pointer and switch Pin
CPallini29-Oct-09 10:58
mveCPallini29-Oct-09 10:58 
GeneralRe: pointer and switch Pin
kbury30-Oct-09 2:31
kbury30-Oct-09 2:31 
GeneralRe: pointer and switch Pin
CPallini30-Oct-09 2:52
mveCPallini30-Oct-09 2:52 
GeneralRe: pointer and switch Pin
kbury30-Oct-09 9:37
kbury30-Oct-09 9:37 
I am stuck with this section of my code so far: error codes: expected int and got pointer to int and operands of = illegaltype pointer to int and int

/* Display two random numbers and ask user what the answer would be after the chosen operation*/

void DrillOneProb (int*c, int*r1, int*r2)

{
		int CorAns, //Correct Answer
			Reply;  // Users Reply

			{
			printf("\nWhat is %d",r1);	1st error		                scanf("%d", r1);

			r1 = 2 + rand() % 11;           2nd error
			}

GeneralRe: pointer and switch Pin
CPallini30-Oct-09 10:43
mveCPallini30-Oct-09 10:43 
GeneralRe: pointer and switch Pin
kbury30-Oct-09 10:57
kbury30-Oct-09 10:57 
GeneralRe: pointer and switch Pin
CPallini30-Oct-09 11:00
mveCPallini30-Oct-09 11:00 
GeneralRe: pointer and switch Pin
kbury30-Oct-09 11:05
kbury30-Oct-09 11:05 
GeneralRe: pointer and switch Pin
kbury30-Oct-09 11:06
kbury30-Oct-09 11:06 
GeneralRe: pointer and switch Pin
CPallini30-Oct-09 11:23
mveCPallini30-Oct-09 11:23 
Questionhow to fit the result application from WinExec() in a splitter window? Pin
Member 333413529-Oct-09 8:01
Member 333413529-Oct-09 8:01 
AnswerRe: how to fit the result application from WinExec() in a splitter window? Pin
«_Superman_»29-Oct-09 8:13
professional«_Superman_»29-Oct-09 8:13 
GeneralRe: how to fit the result application from WinExec() in a splitter window? Pin
Member 333413530-Oct-09 2:26
Member 333413530-Oct-09 2:26 
QuestionConverting data from TextBox (String^) to string Pin
iMikki29-Oct-09 7:22
iMikki29-Oct-09 7:22 
AnswerRe: Converting data from TextBox (String^) to string Pin
transoft29-Oct-09 7:32
transoft29-Oct-09 7:32 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 7:44
iMikki29-Oct-09 7:44 
AnswerRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 7:48
professional«_Superman_»29-Oct-09 7:48 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:05
iMikki29-Oct-09 8:05 
GeneralRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 8:10
professional«_Superman_»29-Oct-09 8:10 
GeneralRe: Converting data from TextBox (String^) to string Pin
iMikki29-Oct-09 8:16
iMikki29-Oct-09 8:16 
GeneralRe: Converting data from TextBox (String^) to string Pin
«_Superman_»29-Oct-09 8:17
professional«_Superman_»29-Oct-09 8:17 

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.