Click here to Skip to main content
15,798,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [OT] Re: buffer overrun Pin
Richard MacCutchan4-Nov-09 7:36
mveRichard MacCutchan4-Nov-09 7:36 
GeneralRe: [OT] Re: buffer overrun [modified] Pin
nuttynibbles4-Nov-09 12:14
nuttynibbles4-Nov-09 12:14 
GeneralRe: [OT] Re: buffer overrun Pin
Richard MacCutchan4-Nov-09 12:47
mveRichard MacCutchan4-Nov-09 12:47 
GeneralRe: [OT] Re: buffer overrun Pin
nuttynibbles6-Nov-09 2:44
nuttynibbles6-Nov-09 2:44 
GeneralRe: [OT] Re: buffer overrun Pin
MindCoder7912-Nov-09 20:54
MindCoder7912-Nov-09 20:54 
QuestionUpdated program-having a pointer error Pin
kbury4-Nov-09 4:23
kbury4-Nov-09 4:23 
AnswerRe: Updated program-having a pointer error Pin
Ibrahim Bello4-Nov-09 4:33
Ibrahim Bello4-Nov-09 4:33 
GeneralRe: Updated program-having a pointer error Pin
kbury4-Nov-09 4:41
kbury4-Nov-09 4:41 
void Gen2Rand (int*r1p, int*r2p)

1. Error is undeclared identifier r2p
2. type error in argument 2 to 'Gen2Rand', found 'int' expected 'pointer to int'
3. possible usage of r1p and r2p before definition

*r1p = r1;<br />
      *r2p = r2;


1. Error is r1p and r2p is not a pointer.


I met my instructor yesterday and he said that the prototypes were correct. So should I change the void Gen2Rand (int*r1, int*r2)
GeneralRe: Updated program-having a pointer error Pin
Tim Craig4-Nov-09 14:55
Tim Craig4-Nov-09 14:55 
AnswerRe: Updated program-having a pointer error Pin
David Crow4-Nov-09 4:55
David Crow4-Nov-09 4:55 
GeneralRe: Updated program-having a pointer error Pin
kbury4-Nov-09 5:09
kbury4-Nov-09 5:09 
GeneralRe: Updated program-having a pointer error Pin
Ibrahim Bello4-Nov-09 5:18
Ibrahim Bello4-Nov-09 5:18 
GeneralRe: Updated program-having a pointer error Pin
softwaremonkey4-Nov-09 9:29
softwaremonkey4-Nov-09 9:29 
GeneralRe: Updated program-having a pointer error Pin
Ibrahim Bello4-Nov-09 10:50
Ibrahim Bello4-Nov-09 10:50 
GeneralRe: Updated program-having a pointer error Pin
David Crow4-Nov-09 5:24
David Crow4-Nov-09 5:24 
GeneralRe: Updated program-having a pointer error Pin
kbury4-Nov-09 6:08
kbury4-Nov-09 6:08 
QuestionProblem reading from text file Pin
Ibrahim Bello4-Nov-09 4:22
Ibrahim Bello4-Nov-09 4:22 
AnswerRe: Problem reading from text file Pin
David Crow4-Nov-09 4:51
David Crow4-Nov-09 4:51 
AnswerRe: Problem reading from text file Pin
«_Superman_»4-Nov-09 4:56
professional«_Superman_»4-Nov-09 4:56 
GeneralRe: Problem reading from text file Pin
Ibrahim Bello4-Nov-09 5:22
Ibrahim Bello4-Nov-09 5:22 
AnswerRe: Problem reading from text file Pin
krmed4-Nov-09 8:09
krmed4-Nov-09 8:09 
GeneralRe: Problem reading from text file Pin
Ibrahim Bello4-Nov-09 10:31
Ibrahim Bello4-Nov-09 10:31 
GeneralRe: Problem reading from text file Pin
David Crow4-Nov-09 10:44
David Crow4-Nov-09 10:44 
GeneralRe: Problem reading from text file Pin
Ibrahim Bello9-Nov-09 3:02
Ibrahim Bello9-Nov-09 3:02 
Questionload image Pin
Arefeh Haghpnah4-Nov-09 4:22
Arefeh Haghpnah4-Nov-09 4:22 

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.