Click here to Skip to main content
16,021,449 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CPrintDialog default printer. Pin
Victor Nijegorodov18-Nov-21 7:17
Victor Nijegorodov18-Nov-21 7:17 
GeneralRe: CPrintDialog default printer. Pin
Maximilien19-Nov-21 5:00
Maximilien19-Nov-21 5:00 
GeneralRe: CPrintDialog default printer. Pin
Randor 19-Nov-21 12:34
professional Randor 19-Nov-21 12:34 
GeneralRe: CPrintDialog default printer. Pin
Maximilien22-Nov-21 1:48
Maximilien22-Nov-21 1:48 
PraiseRe: CPrintDialog default printer. Pin
Randor 22-Nov-21 2:45
professional Randor 22-Nov-21 2:45 
Question++ operator in the case of pointers Pin
Calin Negru15-Nov-21 5:32
Calin Negru15-Nov-21 5:32 
AnswerRe: ++ operator in the case of pointers Pin
Richard MacCutchan15-Nov-21 6:20
mveRichard MacCutchan15-Nov-21 6:20 
GeneralRe: ++ operator in the case of pointers Pin
Calin Negru15-Nov-21 7:10
Calin Negru15-Nov-21 7:10 
could I increment not the value of the variable the pointer is pointing to but the pointer itself?
int Something0 = 0;
int Something1 = 1;
int ** Pointers = new int*[2];
Pointers[0] = &Something0;
*Pointers[0]++; //increase Something0 by 1
Pointers[1] = &Something1;
*Pointers[1]++; //increase Something1 by 1

//Could I do this 
**Pointers =10; //set Something0 to 10
  Pointers++;
**Pointers =30;  //set Something1 to 30

GeneralRe: ++ operator in the case of pointers Pin
Richard Andrew x6415-Nov-21 7:26
professionalRichard Andrew x6415-Nov-21 7:26 
GeneralRe: ++ operator in the case of pointers Pin
Calin Negru15-Nov-21 7:38
Calin Negru15-Nov-21 7:38 
AnswerRe: ++ operator in the case of pointers Pin
k505415-Nov-21 11:37
mvek505415-Nov-21 11:37 
GeneralRe: ++ operator in the case of pointers Pin
Calin Negru16-Nov-21 2:55
Calin Negru16-Nov-21 2:55 
GeneralRe: ++ operator in the case of pointers Pin
Richard MacCutchan17-Nov-21 3:02
mveRichard MacCutchan17-Nov-21 3:02 
GeneralRe: ++ operator in the case of pointers Pin
Calin Negru17-Nov-21 6:10
Calin Negru17-Nov-21 6:10 
GeneralRe: ++ operator in the case of pointers Pin
jsc4217-Nov-21 4:58
jsc4217-Nov-21 4:58 
GeneralRe: ++ operator in the case of pointers Pin
k505417-Nov-21 5:20
mvek505417-Nov-21 5:20 
Questionc++ code interpreter/debugging tool Pin
Calin Negru10-Nov-21 1:40
Calin Negru10-Nov-21 1:40 
AnswerRe: c++ code interpreter/debugging tool Pin
jeron110-Nov-21 6:09
jeron110-Nov-21 6:09 
GeneralRe: c++ code interpreter/debugging tool Pin
Calin Negru10-Nov-21 7:36
Calin Negru10-Nov-21 7:36 
GeneralRe: c++ code interpreter/debugging tool Pin
jeron110-Nov-21 7:47
jeron110-Nov-21 7:47 
General[edit] Re: c++ code interpreter/debugging tool Pin
Calin Negru10-Nov-21 8:25
Calin Negru10-Nov-21 8:25 
AnswerRe: c++ code interpreter/debugging tool Pin
k505410-Nov-21 8:23
mvek505410-Nov-21 8:23 
GeneralRe: c++ code interpreter/debugging tool Pin
Calin Negru10-Nov-21 19:40
Calin Negru10-Nov-21 19:40 
GeneralRe: c++ code interpreter/debugging tool Pin
Greg Utas11-Nov-21 2:06
professionalGreg Utas11-Nov-21 2:06 
GeneralRe: c++ code interpreter/debugging tool Pin
Calin Negru11-Nov-21 2:58
Calin Negru11-Nov-21 2:58 

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.